Skip to content

Commit

Permalink
Merge pull request #1225 from PrefectHQ/unsubscrive
Browse files Browse the repository at this point in the history
BugFix: Do not call unsubscribe agents if it is not a function
  • Loading branch information
zhen0 authored Feb 15, 2022
2 parents e92f440 + 683ca7b commit 8149f0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/LabelWarning.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export default {
'agents'
)
} else {
this.unsubscribeAgents()
if (this.unsubscribeAgents) this.unsubscribeAgents()
}
}
}
Expand Down

0 comments on commit 8149f0a

Please sign in to comment.