From 5e7c25a1fad2d6c7a611768501b1f84b10fcb963 Mon Sep 17 00:00:00 2001 From: Cameron Perera Date: Fri, 12 Apr 2024 13:32:51 -0500 Subject: [PATCH] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20update=20groups=20an?= =?UTF-8?q?d=20workers=20"new"=20button=20to=20HDS=20(#2236)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/admin/app/templates/scopes/scope/groups/index.hbs | 7 ++++--- ui/admin/app/templates/scopes/scope/workers/index.hbs | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ui/admin/app/templates/scopes/scope/groups/index.hbs b/ui/admin/app/templates/scopes/scope/groups/index.hbs index bb2a72d7d..09aa2e881 100644 --- a/ui/admin/app/templates/scopes/scope/groups/index.hbs +++ b/ui/admin/app/templates/scopes/scope/groups/index.hbs @@ -22,9 +22,10 @@ {{#if (can 'create model' this.scope collection='groups')}} {{#if @model.groupsExist}} - {{t - 'resources.group.titles.new' - }} + {{/if}} {{/if}} diff --git a/ui/admin/app/templates/scopes/scope/workers/index.hbs b/ui/admin/app/templates/scopes/scope/workers/index.hbs index 9c9f1e01e..74c7cc1d7 100644 --- a/ui/admin/app/templates/scopes/scope/workers/index.hbs +++ b/ui/admin/app/templates/scopes/scope/workers/index.hbs @@ -19,9 +19,10 @@ {{#if (can 'create worker led worker' this.scope collection='workers')}} {{#if @model}} - {{t - 'titles.new' - }} + {{/if}} {{/if}}