aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-forms/input-text.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-06-13 11:26:20 +0200
committerChocobozzz <me@florianbigard.com>2022-06-13 11:28:20 +0200
commitdc1296a9abfeeb714f321454dde32389a0f40c7e (patch)
tree684105e9d8b45e63e7ae9f80dc9dea4c7acf3f07 /client/src/app/shared/shared-forms/input-text.component.ts
parent93c728a25a87cf6dae5fc49d42d6af52ff7f7ff2 (diff)
downloadPeerTube-dc1296a9abfeeb714f321454dde32389a0f40c7e.tar.gz
PeerTube-dc1296a9abfeeb714f321454dde32389a0f40c7e.tar.zst
PeerTube-dc1296a9abfeeb714f321454dde32389a0f40c7e.zip
Better icon names
Diffstat (limited to 'client/src/app/shared/shared-forms/input-text.component.ts')
-rw-r--r--client/src/app/shared/shared-forms/input-text.component.ts8
1 files changed, 1 insertions, 7 deletions
diff --git a/client/src/app/shared/shared-forms/input-text.component.ts b/client/src/app/shared/shared-forms/input-text.component.ts
index d9722e6c6..1e1da6771 100644
--- a/client/src/app/shared/shared-forms/input-text.component.ts
+++ b/client/src/app/shared/shared-forms/input-text.component.ts
@@ -1,7 +1,7 @@
1import { Component, forwardRef, Input } from '@angular/core' 1import { Component, forwardRef, Input } from '@angular/core'
2import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms' 2import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'
3import { Notifier } from '@app/core' 3import { Notifier } from '@app/core'
4import { GlobalIconName } from '../shared-icons' 4
5 5
6@Component({ 6@Component({
7 selector: 'my-input-text', 7 selector: 'my-input-text',
@@ -48,12 +48,6 @@ export class InputTextComponent implements ControlValueAccessor {
48 this.notifier.success($localize`Copied`) 48 this.notifier.success($localize`Copied`)
49 } 49 }
50 50
51 getEyeIcon (): GlobalIconName {
52 if (this.show) return 'sensitive'
53
54 return 'unsensitive'
55 }
56
57 propagateChange = (_: any) => { /* empty */ } 51 propagateChange = (_: any) => { /* empty */ }
58 52
59 writeValue (value: string) { 53 writeValue (value: string) {