Skip to content

Commit

Permalink
fix Chart colors & add kyverno logo
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Jogeleit <frank.jogeleit@lovoo.com>
  • Loading branch information
Frank Jogeleit committed Mar 24, 2024
1 parent 650e591 commit 205e7da
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions frontend/layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<v-layout v-if="layout">
<v-app-bar elevation="1" prominent>
<v-app-bar-nav-icon icon="mdi-menu" @click.stop="drawer = !drawer"></v-app-bar-nav-icon>
<v-avatar image="/logo.png" rounded="0" class="ml-4" />
<v-toolbar-title>Policy Reporter</v-toolbar-title>
<template #append>
<form-cluster-select />
Expand Down
3 changes: 1 addition & 2 deletions frontend/plugins/03.charts.client.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import * as ChartJs from 'chart.js';
import { DisplayMode } from "~/modules/core/types";
import { useConfigStore } from "~/store/config";
import type { DebuggerEvent } from "vue";

const { Chart, registerables } = ChartJs;

Expand All @@ -26,6 +25,6 @@ export default defineNuxtPlugin(() => {
configColors(config.theme)

config.$subscribe((mutation, state) => {
if ((mutation.events as DebuggerEvent).key === 'displayMode') { configColors(state.displayMode) }
configColors(state.displayMode)
})
});
Binary file added frontend/public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 205e7da

Please sign in to comment.