mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-06-22 04:11:32 +10:00
* feat: new dropdown-based editor switching * feat: tab based switching * feat: add icon * fix: lint * chore: i18n translations oh boy was this a 'chore'
This commit is contained in:
@@ -162,7 +162,6 @@ import {
|
||||
ServerStackIcon,
|
||||
HomeIcon,
|
||||
Cog6ToothIcon,
|
||||
DocumentIcon,
|
||||
UserGroupIcon,
|
||||
RectangleStackIcon,
|
||||
} from "@heroicons/vue/24/outline";
|
||||
@@ -181,12 +180,6 @@ const navigation: Array<NavigationItem & { icon: Component }> = [
|
||||
prefix: "/admin/library",
|
||||
icon: ServerStackIcon,
|
||||
},
|
||||
{
|
||||
label: t("header.admin.meta"),
|
||||
route: "/admin/metadata",
|
||||
prefix: "/admin/metadata",
|
||||
icon: DocumentIcon,
|
||||
},
|
||||
{
|
||||
label: t("header.admin.users"),
|
||||
route: "/admin/users",
|
||||
|
||||
+3
-2
@@ -15,14 +15,15 @@
|
||||
const route = useRoute();
|
||||
const noWrapper = !!route.query.noWrapper;
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
useHead({
|
||||
htmlAttrs: {
|
||||
lang: "en",
|
||||
},
|
||||
link: [],
|
||||
titleTemplate(title) {
|
||||
if (title) return `${title} | Drop`;
|
||||
return `Drop`;
|
||||
return title ? t("titleTemplate", [title]) : t("title");
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user