add no-statusId support for status popover
This commit is contained in:
parent
6529f9fa34
commit
ee1364a167
2 changed files with 5 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue