authorized fix keycloak sidebarItem
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { computed } from 'vue';
|
||||
import * as themeColors from '@/theme/LightTheme';
|
||||
import * as DarkThemeColors from '@/theme/DarkTheme';
|
||||
import { useCustomizerStore } from '@/stores/customizer';
|
||||
import { useCustomizerStore } from '@/store/customizer';
|
||||
|
||||
const custmizer = useCustomizerStore();
|
||||
|
||||
|
||||
@@ -23,4 +23,8 @@ export function timestampToDate(timestamp: number, locale: string, options = {})
|
||||
timeZoneName: 'short',
|
||||
...options
|
||||
});
|
||||
}
|
||||
|
||||
export function getTimetoMilis() {
|
||||
return Math.floor(Date.now() / 1000)
|
||||
}
|
||||
Reference in New Issue
Block a user