diff --git a/ui/admin/app/routes/scopes/scope/scopes.js b/ui/admin/app/routes/scopes/scope/scopes.js
index d590b44a8..8c774898c 100644
--- a/ui/admin/app/routes/scopes/scope/scopes.js
+++ b/ui/admin/app/routes/scopes/scope/scopes.js
@@ -25,4 +25,10 @@ export default class ScopesScopeScopesRoute extends Route {
beforeModel() {
if (!this.session.isAuthenticated) this.router.transitionTo('index');
}
+
+ setupController(controller) {
+ const currentScope = this.modelFor('scopes.scope');
+ super.setupController(...arguments);
+ controller.setProperties({ currentScope });
+ }
}
diff --git a/ui/admin/app/templates/scopes/scope/scopes.hbs b/ui/admin/app/templates/scopes/scope/scopes.hbs
index 0076b0acb..d9db453a0 100644
--- a/ui/admin/app/templates/scopes/scope/scopes.hbs
+++ b/ui/admin/app/templates/scopes/scope/scopes.hbs
@@ -3,7 +3,7 @@
SPDX-License-Identifier: MPL-2.0
}}
-{{#if @model.currentScope.isGlobal}}
+{{#if this.currentScope.isGlobal}}
{{page-title (t 'resources.org.title_plural')}}
{{/if}}
-{{#if @model.currentScope.isOrg}}
+{{#if this.currentScope.isOrg}}
{{page-title (t 'resources.project.title_plural')}}
{{/if}}