mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-15 09:15:44 +01:00
Fix bug
This commit is contained in:
parent
af2d36a3c9
commit
8807894890
1 changed files with 1 additions and 0 deletions
|
@ -180,6 +180,7 @@ export default (os: MiOS) => new Vuex.Store({
|
||||||
removeDeckColumn(state, id) {
|
removeDeckColumn(state, id) {
|
||||||
state.deck.columns = state.deck.columns.filter(c => c.id != id);
|
state.deck.columns = state.deck.columns.filter(c => c.id != id);
|
||||||
state.deck.layout = state.deck.layout.map(ids => ids.filter(x => x != id));
|
state.deck.layout = state.deck.layout.map(ids => ids.filter(x => x != id));
|
||||||
|
state.deck.layout = state.deck.layout.filter(ids => ids.length > 0);
|
||||||
},
|
},
|
||||||
|
|
||||||
swapDeckColumn(state, x) {
|
swapDeckColumn(state, x) {
|
||||||
|
|
Loading…
Reference in a new issue