added 260907 version of worker toolkit

This commit is contained in:
2026-09-08 20:30:51 -04:00
parent cbd3f0f8ca
commit 97aca37663
1283 changed files with 142951 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
import Ember from 'ember';
const {
Component,
computed,
get,
computed: {
alias,
},
inject: {
service,
},
} = Ember;
export default Component.extend({
logoVisiability: service(),
i18n: service(),
showHeaderLogo: alias('logoVisiability.showHeaderLogo'),
showHeaderPath: alias('logoVisiability.showHeaderPAth'),
currentPathTitle: computed('currentPath', 'i18n.locale', function() {
const currentPath = get(this, 'currentPath');
const i18n = get(this, 'i18n');
switch(currentPath) {
case 'password.update':
return i18n.t('password.update.header').toString();
case 'password.reset':
return i18n.t('password.reset.header').toString();
default:
return currentPath;
}
}),
});