mirror of
https://github.com/fankes/beszel.git
synced 2025-10-22 11:29:23 +08:00
updates
This commit is contained in:
@@ -54,3 +54,5 @@ export const formatShortDate = (timestamp: string) => shortDateFormatter.format(
|
||||
|
||||
export const updateFavicon = (newIconUrl: string) =>
|
||||
((document.querySelector("link[rel='icon']") as HTMLLinkElement).href = newIconUrl)
|
||||
|
||||
export const isAdmin = () => pb.authStore.model?.admin
|
||||
|
Reference in New Issue
Block a user