diff --git a/.template-lintrc.js b/.template-lintrc.js index 37ed66d..0a65960 100644 --- a/.template-lintrc.js +++ b/.template-lintrc.js @@ -3,7 +3,6 @@ module.exports = { extends: 'recommended', rules: { - 'no-action': false, 'no-implicit-this': { allow: ['scroll-first-invalid-element-into-view-port'], }, diff --git a/app/controllers/poll/participation.js b/app/controllers/poll/participation.js index 3e6adb8..d8701e7 100644 --- a/app/controllers/poll/participation.js +++ b/app/controllers/poll/participation.js @@ -70,4 +70,9 @@ export default class PollParticipationController extends Controller { queryParams: { encryptionKey }, }); } + + @action + resetSavingStatus() { + this.savingFailed = false; + } } diff --git a/app/templates/create/meta.hbs b/app/templates/create/meta.hbs index fde9468..5c8483e 100644 --- a/app/templates/create/meta.hbs +++ b/app/templates/create/meta.hbs @@ -38,7 +38,7 @@
- +
diff --git a/app/templates/create/settings.hbs b/app/templates/create/settings.hbs index 2916914..bb253b5 100644 --- a/app/templates/create/settings.hbs +++ b/app/templates/create/settings.hbs @@ -18,7 +18,7 @@