Item size and layout are now managed by store

This commit is contained in:
Alicia Sykes
2021-10-30 13:45:47 +01:00
parent 513b1cd955
commit 168e52c251
5 changed files with 25 additions and 37 deletions

View File

@@ -32,11 +32,6 @@ import IconVertical from '@/assets/interface-icons/layout-vertical.svg';
export default {
name: 'LayoutSelector',
data() {
return {
input: '',
};
},
props: {
displayLayout: String,
},
@@ -47,7 +42,6 @@ export default {
},
methods: {
updateDisplayLayout(layout) {
this.$emit('layoutUpdated', layout);
this.$store.commit(StoreKeys.SET_ITEM_LAYOUT, layout);
},
tooltip(content) {