diff --git a/components/HelpSlideover.vue b/components/HelpSlideover.vue index 82d2a6e..43ab35c 100644 --- a/components/HelpSlideover.vue +++ b/components/HelpSlideover.vue @@ -13,7 +13,7 @@ const links = [{ shortcuts.value = true } }, { - label: 'Homepage', + label: 'Webseite', icon: 'i-heroicons-book-open', to: 'https://fedeo.de', target: '_blank' diff --git a/components/HistoryDisplay.vue b/components/HistoryDisplay.vue index ec7e30f..00bae72 100644 --- a/components/HistoryDisplay.vue +++ b/components/HistoryDisplay.vue @@ -63,11 +63,11 @@ const historyItems = computed(() => { }) const addHistoryItemData = ref({ text: "", - user: "" }) const addHistoryItem = async () => { - addHistoryItemData.value.user = user.value.id + console.log(addHistoryItemData.value) + addHistoryItemData.value.createdBy = dataStore.activeProfile.id if(type === "customer") { addHistoryItemData.value.customer = elementId @@ -197,7 +197,7 @@ const renderText = (text) => { />

{{dataStore.getProfileById(item.createdBy) ? dataStore.getProfileById(item.createdBy).fullName : ""}}

-

Spaces Bot

+

FEDEO Bot


{{dayjs(item.created_at).format("DD.MM.YY HH:mm")}}
diff --git a/components/UserDropdown.vue b/components/UserDropdown.vue index e1e740c..5a98997 100644 --- a/components/UserDropdown.vue +++ b/components/UserDropdown.vue @@ -12,34 +12,7 @@ const items = computed(() => [ slot: 'account', label: '', disabled: true - }], [{ - label: 'Suche', - icon: 'i-heroicons-command-line', - shortcuts: [metaSymbol.value, 'K'], - click: () => { - isDashboardSearchModalOpen.value = true - } - }, { - label: 'Hilfe & Support', - icon: 'i-heroicons-question-mark-circle', - shortcuts: ['?'], - click: () => isHelpSlideoverOpen.value = true - }], [{ - label: 'Webseite', - icon: 'i-heroicons-book-open', - to: 'https://fedeo.de', - target: '_blank' - },/* { - label: 'GitHub repository', - icon: 'i-simple-icons-github', - to: 'https://github.com/nuxt/ui-pro', - target: '_blank' - }, { - label: 'Buy Nuxt UI Pro', - icon: 'i-heroicons-credit-card', - to: 'https://ui.nuxt.com/pro/purchase', - target: '_blank' - }*/], [{ + }], [{ label: 'Abmelden', icon: 'i-heroicons-arrow-left-on-rectangle', click: async () => { diff --git a/layouts/default.vue b/layouts/default.vue index ca9b75d..cf777c7 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -270,7 +270,7 @@ let links = computed(() => { defaultOpen: false, children: [ { - label: "Steuerung", + label: "Vorgänge", to: "/inventory", icon: "i-heroicons-square-3-stack-3d" }, @@ -456,7 +456,16 @@ const footerLinks = [/*{ - + + + + + +
diff --git a/pages/customers/[mode]/[[id]].vue b/pages/customers/[mode]/[[id]].vue index 13f1aef..9b145b7 100644 --- a/pages/customers/[mode]/[[id]].vue +++ b/pages/customers/[mode]/[[id]].vue @@ -116,7 +116,7 @@ setupPage()