🐛 Fixes iframe widget refresh (#1571)

This commit is contained in:
Alicia Sykes
2024-05-11 15:26:32 +01:00
parent eea193ae5c
commit 07dbcccc83
2 changed files with 13 additions and 4 deletions

View File

@@ -72,9 +72,9 @@ const WidgetMixin = {
this.updater = setInterval(() => { this.update(); }, this.updateInterval);
},
/* Called when an error occurs. Logs to handler, and passes to parent component */
error(msg, stackTrace) {
error(msg, stackTrace, quite = false) {
ErrorHandler(msg, stackTrace);
if (!this.options.ignoreErrors) {
if (!this.options.ignoreErrors && !quite) {
this.$emit('error', msg);
}
},