commit | 60ce67dd53ad64c33a2c34aae31e9ee823979109 | [log] [tgz] |
---|---|---|
author | Alice Kober-Sotzek <aliceks@google.com> | Tue Sep 29 10:14:15 2020 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Sep 29 10:14:15 2020 +0000 |
tree | 2eafbea5a2673699a4418e5eec1743a3b4ce5f20 | |
parent | 2dc456a6891f1bc55a9d637cf2553f27ceae6c49 [diff] | |
parent | 4d2c956a645228fa1647da3017e01ebafb9b6ec0 [diff] |
Merge "DeletePreconditions: Use directly SubscriptionGraph"
diff --git a/gr-delete-repo/gr-delete-repo.js b/gr-delete-repo/gr-delete-repo.js index 9afef3c..20c3555 100644 --- a/gr-delete-repo/gr-delete-repo.js +++ b/gr-delete-repo/gr-delete-repo.js
@@ -64,7 +64,11 @@ }; const errFn = response => { - this.fire('page-error', {response}); + this.dispatchEvent(new CustomEvent('page-error', { + detail: {response}, + bubbles: true, + composed: true, + })); }; return this.plugin.restApi().send(