Skip to content

Commit 05beb1d

Browse files
Uriel-Sautronemersion
authored andcommitted
hack: disable in edit sidebar netzgrafik-delete netzgrafik-merge and filterable labels nodes/notes (#3)
Co-authored-by: Simon Ser <[email protected]> Signed-off-by: Theo Macron <[email protected]>
1 parent b165f5c commit 05beb1d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/app/view/editor-edit-tools-view-component/editor-edit-tools-view.component.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ <h2 class="SummaryTitle">{{ "app.view.editor-edit-tools-view-component.edit" | t
1313
[componentLabelRef]="'Trainrun'"
1414
></sbb-label-drop-list-component>
1515
</sbb-expansion-panel>
16+
1617
<sbb-expansion-panel [expanded]="false">
1718
<sbb-expansion-panel-header>{{
1819
"app.view.editor-edit-tools-view-component.nodes" | translate
@@ -30,8 +31,9 @@ <h2 class="SummaryTitle">{{ "app.view.editor-edit-tools-view-component.edit" | t
3031
</sbb-expansion-panel>
3132

3233
<sbb-expansion-panel
33-
[expanded]="getVariantIsWritable() && !getAreMultiObjectSelected()"
34+
[expanded]="getVariantIsWritable()"
3435
[disabled]="!getVariantIsWritable()"
36+
*ngIf="false"
3537
>
3638
<sbb-expansion-panel-header>{{
3739
"app.view.editor-edit-tools-view-component.delete-netzgrafik-title" | translate
@@ -99,7 +101,7 @@ <h2 class="SummaryTitle">{{ "app.view.editor-edit-tools-view-component.edit" | t
99101
</button>
100102
{{ "app.view.editor-edit-tools-view-component.delete-all-visible-elements" | translate }}
101103
</sbb-expansion-panel>
102-
<sbb-expansion-panel [expanded]="false" [disabled]="!getVariantIsWritable()">
104+
<sbb-expansion-panel [expanded]="false" [disabled]="!getVariantIsWritable()" *ngIf="false">
103105
<sbb-expansion-panel-header>
104106
{{ "app.view.editor-edit-tools-view-component.merge-netzgrafik-title" | translate }}
105107
</sbb-expansion-panel-header>

0 commit comments

Comments
 (0)