Skip to content

Commit

Permalink
fix wrong chip tag
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilWun committed Oct 5, 2023
1 parent e9f02b2 commit 3cc6c56
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
</qhana-plugin-last-used>
</span>
<mat-chip-listbox class="tags">
<mat-chip-option class="tag" *ngFor="let tag of plugin?.tags ?? []">{{tag}}</mat-chip-option>
<mat-chip class="tag" *ngFor="let tag of plugin?.tags ?? []">{{tag}}</mat-chip>
</mat-chip-listbox>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ <h2>Template Details</h2>
<p>Description: {{templateObject?.description}}</p>
<p>Tags:</p>
<mat-chip-listbox>
<mat-chip-option *ngFor="let tag of templateObject?.tags">
<mat-chip *ngFor="let tag of templateObject?.tags">
{{tag}}
</mat-chip-option>
</mat-chip>
</mat-chip-listbox>
</ng-container>
</mat-card-content>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h1 class="t-page-headline">Experiment Workspace</h1>
class="plugin-description-container {{expandedPluginDescription ? 'open' : 'closed'}}">
<div class="scroll-container">
<mat-chip-listbox>
<mat-chip-option *ngFor="let tag of (activePlugin.tags ?? [])">{{tag}}</mat-chip-option>
<mat-chip *ngFor="let tag of (activePlugin.tags ?? [])">{{tag}}</mat-chip>
</mat-chip-listbox>
<qhana-markdown class="plugin-description" [markdown]="activePlugin.description"
[editable]="false">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ <h1 mat-dialog-title>{{data.template ? 'Update' : 'Create'}} UI Template</h1>
<div *ngIf="templateTags.length > 0">
<h3>Tags:</h3>
<mat-chip-listbox>
<mat-chip-option *ngFor="let tag of templateTags" [removable]="true" (removed)="removeTag(tag)">
<mat-chip *ngFor="let tag of templateTags" [removable]="true" (removed)="removeTag(tag)">
{{tag}}
<mat-icon matChipRemove>cancel</mat-icon>
</mat-chip-option>
</mat-chip>
</mat-chip-listbox>
</div>
</div>
Expand Down

0 comments on commit 3cc6c56

Please sign in to comment.