mirror of
https://github.com/gurucomputing/headscale-ui.git
synced 2026-07-23 16:10:19 +00:00
minor bug fix
This commit is contained in:
parent
2db7a294db
commit
22776847f5
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { writable } from 'svelte/store';
|
||||
import { Device } from '$lib/common/classes';
|
||||
import { Device, User } from '$lib/common/classes';
|
||||
|
||||
// used to store the value of an alert across all components
|
||||
export const alertStore = writable('');
|
||||
|
|
@ -11,5 +11,5 @@ export const headscaleThemeStore = writable('');
|
|||
export const headscaleURLStore = writable('');
|
||||
export const headscaleAPIKeyStore = writable('');
|
||||
// stores user and device data
|
||||
export const headscaleUserStore = writable([{ id: '', name: '', createdAt: '' }]);
|
||||
export const headscaleUserStore = writable([new User()]);
|
||||
export const headscaleDeviceStore = writable([new Device()]);
|
||||
Loading…
Add table
Add a link
Reference in a new issue