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