Skip to content

Commit

Permalink
BC- 7030 - new sidebar (#3193)
Browse files Browse the repository at this point in the history
* add tooltip to sidebar items
* adjust to new alert setup
  • Loading branch information
odalys-dataport authored Apr 18, 2024
1 parent ede7c51 commit a92dd24
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/layouts/lernStore.layout.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<legacy-logged-in v-if="legacyLayout">
<v-main id="main-content" class="content">
<snackbar />
<alert-container />
<router-view />
</v-main>
<loading-state-dialog />
Expand All @@ -12,7 +12,7 @@

<script>
import LegacyLoggedIn from "@/layouts/legacyLoggedIn";
import Snackbar from "@/components/molecules/Alert";
import AlertContainer from "@/components/molecules/AlertContainer.vue";
import LoadingStateDialog from "@/components/molecules/LoadingStateDialog";
import { contentModule } from "@/store";
Expand All @@ -21,7 +21,7 @@ export default {
components: {
LoadingStateDialog,
LegacyLoggedIn,
Snackbar,
AlertContainer,
},
computed: {
legacyLayout() {
Expand Down
4 changes: 2 additions & 2 deletions src/layouts/newLoggedIn.layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<v-main id="main-content">
<application-error-wrapper>
<snackbar />
<AlertContainer />
<router-view />
</application-error-wrapper>
</v-main>
Expand All @@ -30,7 +30,7 @@ import { ref, computed } from "vue";
import { useDisplay } from "vuetify";
import SkipLinks from "@/components/molecules/SkipLinks.vue";
import { Sidebar } from "@ui-layout";
import Snackbar from "@/components/molecules/Alert.vue";
import AlertContainer from "@/components/molecules/AlertContainer.vue";
import LoadingStateDialog from "@/components/molecules/LoadingStateDialog.vue";
import ApplicationErrorWrapper from "@/components/molecules/ApplicationErrorWrapper.vue";
import autoLogoutWarning from "@/components/organisms/AutoLogoutWarning.vue";
Expand Down
2 changes: 1 addition & 1 deletion src/modules/ui/layout/SidebarCategoryItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<template #prepend>
<v-icon :icon="item.icon" class="mr-2" />
</template>
<v-list-item-title>
<v-list-item-title :title="$t(item.title)">
{{ $t(item.title) }}
</v-list-item-title>
</v-list-item>
Expand Down
2 changes: 1 addition & 1 deletion src/modules/ui/layout/SidebarItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<template #prepend>
<v-icon v-if="hasIcon(item)" :icon="item.icon" class="mr-2" />
</template>
<v-list-item-title>
<v-list-item-title :title="$t(item.title)">
{{ $t(item.title) }}
</v-list-item-title>
</v-list-item>
Expand Down

0 comments on commit a92dd24

Please sign in to comment.