diff options
Diffstat (limited to 'web_src/js/components/ContextPopup.vue')
-rw-r--r-- | web_src/js/components/ContextPopup.vue | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/web_src/js/components/ContextPopup.vue b/web_src/js/components/ContextPopup.vue index 0b086690a9..07c73ff5cf 100644 --- a/web_src/js/components/ContextPopup.vue +++ b/web_src/js/components/ContextPopup.vue @@ -46,19 +46,13 @@ const luminance = (colorString) => { const luminanceThreshold = 0.179; export default { - name: 'ContextPopup', - - components: { - SvgIcon, - }, - + components: {SvgIcon}, data: () => ({ loading: false, issue: null, i18nErrorOccurred: i18n.error_occurred, i18nErrorMessage: null, }), - computed: { createdAt() { return new Date(this.issue.created_at).toLocaleDateString(undefined, {year: 'numeric', month: 'short', day: 'numeric'}); @@ -107,7 +101,6 @@ export default { }); } }, - mounted() { this.$refs.root.addEventListener('us-load-context-popup', (e) => { const data = e.detail; @@ -116,7 +109,6 @@ export default { } }); }, - methods: { load(data) { this.loading = true; |