send url always because it's used in showLink

pull/5250/head
Ryo Hanafusa 4 weeks ago
parent d3c3808dae
commit 061b549d16

@ -49,13 +49,10 @@ class Monitor extends BeanModel {
id: this.id,
name: this.name,
sendUrl: !!this.sendUrl,
url: this.url,
type: this.type,
};
if (this.sendUrl) {
obj.url = this.url;
}
if (showTags) {
obj.tags = await this.getTags();
}

Loading…
Cancel
Save