Skip to content

Commit

Permalink
fix: various fixes for the empty pages
Browse files Browse the repository at this point in the history
  • Loading branch information
elevatebart committed Jan 29, 2025
1 parent 815467e commit a10f65c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ui/src/components/demo/Apps.vue
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<template>
<top-nav-bar :title="routeInfo.title" />
<Layout
:title="t(`demos.apps.title`)"
:image="{source: sourceImg, alt: t(`demos.apps.title`)}"
Expand All @@ -15,9 +16,19 @@
</template>

<script setup lang="ts">
import {ref} from "vue";
import {useI18n} from "vue-i18n";
import Layout from "./Layout.vue";
// @ts-expect-error no types in TopNavBar yet
import TopNavBar from "../../components/layout/TopNavBar.vue";
import sourceImg from "../../assets/demo/apps.png";
import useRouteContext from "../../mixins/useRouteContext";
const {t} = useI18n();
const routeInfo = ref({
title: t("demos.instance.title"),
});
useRouteContext(routeInfo);
</script>
1 change: 1 addition & 0 deletions ui/src/components/flows/FlowRoot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@
name: "auditlogs",
title: this.$t("auditlogs"),
component: DemoAuditLogs,
containerClass: "demo-container",
props:{
embed: true
}
Expand Down
5 changes: 5 additions & 0 deletions ui/src/components/namespace/Namespace.vue
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@
name: "edit",
component: DemoNamespace,
title: this.$t("edit"),
containerClass: "demo-container",
props: {
tab: "edit",
}
Expand All @@ -194,6 +195,7 @@
name: "variables",
component: DemoNamespace,
title: this.$t("variables"),
containerClass: "demo-container",
props: {
tab: "variables",
}
Expand All @@ -202,6 +204,7 @@
name: "plugin-defaults",
component: DemoNamespace,
title: this.$t("plugin defaults"),
containerClass: "demo-container",
props: {
tab: "plugin-defaults",
}
Expand All @@ -210,6 +213,7 @@
name: "secrets",
component: DemoNamespace,
title: this.$t("secret.names"),
containerClass: "demo-container",
props: {
tab: "secrets",
}
Expand All @@ -218,6 +222,7 @@
name: "audit-logs",
component: DemoNamespace,
title: this.$t("auditlogs"),
containerClass: "demo-container",
props: {
tab: "audit-logs",
}
Expand Down

0 comments on commit a10f65c

Please sign in to comment.