@@ -33,7 +33,7 @@ class MonitorApiBase {
data: {}
}
- const doAction = follow ? this.ajaxRemove : this.ajaxAdd
+ const doAction = follow ? this.ajaxRemove.bind(this) : this.ajaxAdd.bind(this)
result = await doAction()
if (result.success) {
this.model.follow = !follow