diff --git a/ui/src/App.vue b/ui/src/App.vue index 4e2db3c..2413334 100644 --- a/ui/src/App.vue +++ b/ui/src/App.vue @@ -26,11 +26,7 @@ /> - + @@ -74,9 +70,6 @@ export default class App extends Vue { private dashboard_version = "0.0.1"; private dashboard_ip = "0.0.0.0"; - private ticker_html = "

changeme

"; - private ticker_color = "primary"; - public created(): void { super.created(); } @@ -164,20 +157,6 @@ export default class App extends Vue { this.$ovdashboard.api_get_string("misc/lanip", (data) => { this.dashboard_ip = data; }); - - // Update Ticker - this.$ovdashboard.api_get_string("ticker/html", (data) => { - this.ticker_html = data; - }); - - // Update Ticker Config - type TickerConfig = { - color: string; - }; - - this.$ovdashboard.api_get_object("ticker/config", (data) => { - this.ticker_color = data.color; - }); } } diff --git a/ui/src/components/TickerBar.vue b/ui/src/components/TickerBar.vue index 6202a0f..0d0e3bb 100644 --- a/ui/src/components/TickerBar.vue +++ b/ui/src/components/TickerBar.vue @@ -1,5 +1,5 @@