Skip to content

Commit

Permalink
feat: add enterprise edition empty to flow edition audit logs
Browse files Browse the repository at this point in the history
  • Loading branch information
elevatebart committed Jan 29, 2025
1 parent 80d1f2d commit 4375dc3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
9 changes: 8 additions & 1 deletion ui/src/components/demo/AuditLogs.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<top-nav-bar :title="routeInfo.title" v-if="!isFullScreen()" />
<top-nav-bar :title="routeInfo.title" v-if="!isFullScreen() && !embed" />
<Layout
:title="t('demos.audit-logs.title')"
:image="{source: sourceImg, alt: t('demos.audit-logs.title')}"
Expand All @@ -26,6 +26,13 @@
const {t} = useI18n();
defineProps({
embed: {
type:Boolean,
default: false
}
});
const routeInfo = ref({
title: t("demos.audit-logs.title"),
});
Expand Down
6 changes: 5 additions & 1 deletion ui/src/components/flows/FlowRoot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import {apiUrl} from "override/utils/route";
import FlowRootTopBar from "./FlowRootTopBar.vue";
import FlowConcurrency from "./FlowConcurrency.vue";
import DemoAuditLogs from "../demo/AuditLogs.vue";
export default {
mixins: [RouteContext],
Expand Down Expand Up @@ -267,7 +268,10 @@
tabs.push( {
name: "auditlogs",
title: this.$t("auditlogs"),
locked: true
component: DemoAuditLogs,
props:{
embed: true
}
});
return tabs;
Expand Down

0 comments on commit 4375dc3

Please sign in to comment.