From 997ba845273e28e6aab2545080ff4d568a3c974b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Thu, 7 Apr 2022 16:22:02 +0300 Subject: [PATCH] Update AppNews.vue --- src/AppNews.vue | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/src/AppNews.vue b/src/AppNews.vue index 596f234b1..a9d41655c 100644 --- a/src/AppNews.vue +++ b/src/AppNews.vue @@ -6,7 +6,7 @@ {{$appState.announcement.linkText}} - + @@ -25,26 +25,6 @@ export default { mounted() { EventBus.emit('news-activate'); }, - computed: { - newsTextStyleObject() { - if (this.$appState.announcement.textStyle) { - const textStyle = this.$appState.announcement.textStyle.split(';'); - return [textStyle[0], textStyle[1]]; - } - return []; - }, - newsStyleObject() { - return [this.$appState.announcement.linkStyle]; - }, - newsLinkHover() { - return this.$appState.announcement.linkHoverStyle; - } - }, - watch: { - '$appState.announcement'(newValue) { - this.$appState.announcement = newValue; - } - }, methods: { onClose() { this.$appState.newsActive = false; @@ -56,10 +36,4 @@ export default { } } } - - - \ No newline at end of file + \ No newline at end of file