diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-02-12 16:20:49 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-02-13 16:48:46 +0100 |
commit | 8a979d73c3343ecf07b4e6411fa2a6783cd0a3b0 (patch) | |
tree | f3325f8a55cab793ccacc361d47fbf28c5acc4c6 /client/src/app/header/suggestion.component.html | |
parent | 9b8a7aa8ea128f7e197ff38ca9f86ffa53bbe110 (diff) | |
download | PeerTube-8a979d73c3343ecf07b4e6411fa2a6783cd0a3b0.tar.gz PeerTube-8a979d73c3343ecf07b4e6411fa2a6783cd0a3b0.tar.zst PeerTube-8a979d73c3343ecf07b4e6411fa2a6783cd0a3b0.zip |
Simplify code for search-typeahead
Diffstat (limited to 'client/src/app/header/suggestion.component.html')
-rw-r--r-- | client/src/app/header/suggestion.component.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/header/suggestion.component.html b/client/src/app/header/suggestion.component.html index edde2023a..d7ae3450a 100644 --- a/client/src/app/header/suggestion.component.html +++ b/client/src/app/header/suggestion.component.html | |||
@@ -1,4 +1,4 @@ | |||
1 | <a tabindex="-1" class="d-flex flex-auto flex-items-center p-2" [class.focus-visible]="active" [routerLink]="result.routerLink"> | 1 | <a tabindex="-1" class="d-flex flex-auto flex-items-center p-2" [class.focus-visible]="active"> |
2 | <div class="flex-shrink-0 mr-2 text-center"> | 2 | <div class="flex-shrink-0 mr-2 text-center"> |
3 | <my-global-icon *ngIf="result.type !== 'channel'" iconName="search"></my-global-icon> | 3 | <my-global-icon *ngIf="result.type !== 'channel'" iconName="search"></my-global-icon> |
4 | <my-global-icon *ngIf="result.type === 'channel'" iconName="folder"></my-global-icon> | 4 | <my-global-icon *ngIf="result.type === 'channel'" iconName="folder"></my-global-icon> |