remove ServerinfoStore for it's not needed

This commit is contained in:
Settel 2023-01-29 15:36:57 +01:00
parent 1dcd26ffcf
commit ea7caa322b

View File

@ -1,23 +0,0 @@
import { defineStore } from 'pinia'
export type Serverinfo = {
isInitialized: boolean
}
export const useServerinfoStore = defineStore('ServerinfoStore', {
state: () => {
return {
Serverinfo: {
isInitialized: false,
} as Serverinfo,
}
},
getters: {
isInitialized: (state): boolean => state.Serverinfo.isInitialized,
},
actions: {
setServerinfo(Serverinfo: Serverinfo): void {
this.Serverinfo = Serverinfo
},
},
})