tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
289
fork
atom
a tool for shared writing and social publishing
289
fork
atom
overview
issues
27
pulls
pipelines
fix logic for when list indent button is disabled
schlage.town
1 year ago
0d2d794b
d650d51b
+1
-1
1 changed file
expand all
collapse all
unified
split
components
Toolbar
ListToolbar.tsx
+1
-1
components/Toolbar/ListToolbar.tsx
···
129
129
}
130
130
disabled={
131
131
!previousBlock?.listData ||
132
132
-
previousBlock.listData.depth !== block?.listData?.depth
132
132
+
previousBlock.listData.depth < block?.listData?.depth!
133
133
}
134
134
onClick={() => {
135
135
if (!rep || !block || !previousBlock) return;