mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-01 11:33:41 +03:00
tile-grid: check for charges loaded, updating glob
This commit is contained in:
parent
ce39c22026
commit
3d2472f8b4
@ -1,7 +1,7 @@
|
||||
:~ title+'System'
|
||||
info+'An app launcher for Urbit.'
|
||||
color+0xee.5432
|
||||
glob-http+['https://bootstrap.urbit.org/glob-0v2.l1df2.utnqo.9bssn.cv55i.s6uoc.glob' 0v2.l1df2.utnqo.9bssn.cv55i.s6uoc]
|
||||
glob-http+['https://bootstrap.urbit.org/glob-0v7.c3i0g.i6ruv.refhu.n0qc8.dmpil.glob' 0v7.c3i0g.i6ruv.refhu.n0qc8.dmpil]
|
||||
::glob-ames+~zod^0v0
|
||||
base+'grid'
|
||||
version+[1 1 1]
|
||||
|
@ -43,7 +43,7 @@ export const TileGrid = ({ menu }: TileGridProps) => {
|
||||
useSettingsState.getState().putEntry('tiles', 'order', chargeKeys);
|
||||
} else if (order.length < chargeKeys.length) {
|
||||
useSettingsState.getState().putEntry('tiles', 'order', uniq(order.concat(chargeKeys)));
|
||||
} else if (order.length > chargeKeys.length) {
|
||||
} else if (order.length > chargeKeys.length && chargeKeys.length !== 0) {
|
||||
useSettingsState
|
||||
.getState()
|
||||
.putEntry(
|
||||
|
Loading…
Reference in New Issue
Block a user