Update error to use translatable text

This commit is contained in:
rejas
2021-03-16 19:16:07 +01:00
parent a269b5cd93
commit e4f671c898
6 changed files with 7 additions and 5 deletions

View File

@@ -90,7 +90,7 @@ Module.register("newsfeed", {
this.loaded = true;
this.error = null;
} else if (notification === "INCORRECT_URL") {
this.error = "Newsfeed Error. Incorrect url: " + payload.url;
this.error = `Incorrect url: ${payload.url}`;
this.scheduleUpdateInterval();
}
},