diff --git a/ui/desktop/app/components/hidden-secret/index.hbs b/ui/desktop/app/components/hidden-secret/index.hbs index 6bdd9972e..a28042fd6 100644 --- a/ui/desktop/app/components/hidden-secret/index.hbs +++ b/ui/desktop/app/components/hidden-secret/index.hbs @@ -1,11 +1,9 @@
- {{! TODO: The span wrap within a div because later we will add the toggle secret icon/button}} -
- {{t 'resources.target.host-set.secret'}} -
+ > + {{this.textMask}} +
\ No newline at end of file diff --git a/ui/desktop/app/components/hidden-secret/index.js b/ui/desktop/app/components/hidden-secret/index.js new file mode 100644 index 000000000..f5b443ff2 --- /dev/null +++ b/ui/desktop/app/components/hidden-secret/index.js @@ -0,0 +1,5 @@ +import Component from '@glimmer/component'; + +export default class HiddenSecretComponent extends Component { + textMask = '■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■'; +} diff --git a/ui/desktop/app/styles/app.scss b/ui/desktop/app/styles/app.scss index 36f54ecbd..5e1042934 100644 --- a/ui/desktop/app/styles/app.scss +++ b/ui/desktop/app/styles/app.scss @@ -474,3 +474,20 @@ $chevron-down: url("data:image/svg+xml;utf-8, div > span').textContent.trim(), + find('.hidden-secret > span > span').textContent.trim(), '■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ ■' ); });