fix field date error in modal, adjust notification spacing, added entity quick switcher

This commit is contained in:
dswbx
2025-02-27 14:07:49 +01:00
parent 3e28124494
commit 3bf3bb32a4
11 changed files with 94 additions and 15 deletions

View File

@@ -42,6 +42,11 @@ const useLocationFromRouter = (router) => {
];
};
export function isLinkActive(href: string, strict?: boolean) {
const path = window.location.pathname;
return strict ? path === href : path.includes(href);
}
export function Link({
className,
native,