aboutsummaryrefslogtreecommitdiff
path: root/src/components/status_popover
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/status_popover')
-rw-r--r--src/components/status_popover/status_popover.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/status_popover/status_popover.js b/src/components/status_popover/status_popover.js
index 159132a9..51e7680c 100644
--- a/src/components/status_popover/status_popover.js
+++ b/src/components/status_popover/status_popover.js
@@ -22,6 +22,10 @@ const StatusPopover = {
methods: {
enter () {
if (!this.status) {
+ if (!this.statusId) {
+ this.error = true
+ return
+ }
this.$store.dispatch('fetchStatus', this.statusId)
.then(data => (this.error = false))
.catch(e => (this.error = true))