Skip to content

Commit

Permalink
hack: disable in edit sidebar netzgrafik-delete netzgrafik-merge and …
Browse files Browse the repository at this point in the history
…filterable labels nodes/notes (#3)

Co-authored-by: Simon Ser <contact@emersion.fr>
  • Loading branch information
2 people authored and louisgreiner committed Dec 3, 2024
1 parent 11e1290 commit 4b90012
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ <h2 class="SummaryTitle">{{ 'app.view.editor-edit-tools-view-component.edit' | t
[componentLabelRef]="'Trainrun'"
></sbb-label-drop-list-component>
</sbb-expansion-panel>
<sbb-expansion-panel [expanded]="false">

<sbb-expansion-panel [expanded]="false" *ngIf="false">
<sbb-expansion-panel-header>{{ 'app.view.editor-edit-tools-view-component.nodes' | translate }}</sbb-expansion-panel-header>
<sbb-label-drop-list-component
[componentLabelRef]="'Node'"
Expand All @@ -31,7 +32,9 @@ <h2 class="SummaryTitle">{{ 'app.view.editor-edit-tools-view-component.edit' | t

<sbb-expansion-panel
[expanded]="getVariantIsWritable()"
[disabled]="!getVariantIsWritable()">
[disabled]="!getVariantIsWritable()"
*ngIf="false"
>
<sbb-expansion-panel-header>{{ 'app.view.editor-edit-tools-view-component.delete-netzgrafik-title' | translate }}</sbb-expansion-panel-header>

<ng-container
Expand Down Expand Up @@ -85,7 +88,9 @@ <h2 class="SummaryTitle">{{ 'app.view.editor-edit-tools-view-component.edit' | t
</sbb-expansion-panel>
<sbb-expansion-panel
[expanded]="false"
[disabled]="!getVariantIsWritable()">
[disabled]="!getVariantIsWritable()"
*ngIf="false"
>
<sbb-expansion-panel-header>
{{ 'app.view.editor-edit-tools-view-component.merge-netzgrafik-title' | translate }}
</sbb-expansion-panel-header>
Expand Down

0 comments on commit 4b90012

Please sign in to comment.