fix: 🐛 Fix tag bug from moving where workers list is loaded (#1284)

* fix: 🐛 Fix tag bug from moving where workers list is loaded

* style: 💄 Remove unused import

* refactor: 💡 Use new setting to turn off auto refresh for filter
This commit is contained in:
Zhihe Li authored and GitHub committed 2022-09-06 13:45:22 -04:00
1 parent c351452d71
commit 86ab7331af
3 files changed
+37 -22

No files matched your search

@@ -104,7 +104,7 @@
{{/if}}
</div>
{{#if @model.cannotSave}}
{{#unless @model.isNew}}
<div class='worker-success'>
<div>
<Rose::Icon @name='flight-icons/svg/cpu-16' @size='medium' />
@@ -118,10 +118,14 @@
<p>{{t 'resources.worker.form.steps.3.registered'}}</p>
</div>
</div>
{{/if}}
{{/unless}}
</div>
<Rose::LinkButton @route='scopes.scope.workers' @style='secondary'>
<Rose::LinkButton
@route='scopes.scope.workers'
@style='secondary'
{{on 'click' (route-action 'refresh')}}
>
{{t 'actions.done'}}
</Rose::LinkButton>
</Rose::Form>