remove ServerinfoStore for it's not needed
This commit is contained in:
parent
1dcd26ffcf
commit
ea7caa322b
@ -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
|
||||
},
|
||||
},
|
||||
})
|
Loading…
Reference in New Issue
Block a user