feat: station card layout of DashboardPage is adjustable
This commit is contained in:
16
src/stores/layout.ts
Normal file
16
src/stores/layout.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { defineStore } from 'pinia';
|
||||
import { ref } from 'vue';
|
||||
|
||||
export const useLayoutStore = defineStore(
|
||||
'ndm-layout-store',
|
||||
() => {
|
||||
const stationLayoutGridCols = ref(8);
|
||||
|
||||
return {
|
||||
stationLayoutGridCols,
|
||||
};
|
||||
},
|
||||
{
|
||||
persist: true,
|
||||
},
|
||||
);
|
||||
Reference in New Issue
Block a user