Skip to content

Commit 1acf057

Browse files
authored
Update __name@dasherize__-command-bar.component.html.template (#104)
1 parent 8c643ae commit 1acf057

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/ng-generate/components/shared/generators/components/command-bar/files/__name@dasherize__-command-bar.component.html.template

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
<% if (options.componentType === 'table' && options.hasSearchBar) { %>
187187
<mat-menu data-test="column-menu" #configurationMenu="matMenu" class="column-menu">
188188
<<%= dasherize(name) %>-config-menu
189-
[isOpenedFromMatMenu]="true"
189+
[isOpenedFromMatMenu]="true"
190190
#configurationMenuComponent
191191
(configChangedEvent)="triggerSetConfiguration($event)"
192192
></<%= dasherize(name) %>-config-menu>
@@ -250,7 +250,7 @@
250250
</mat-form-field>
251251
</ng-container>
252252
<% } %>
253-
</div>
253+
</div>
254254
<% } %>
255255

256256
<% if (options.componentType === 'table' && options.hasSearchBar) { %>
@@ -274,32 +274,32 @@
274274
<% if (options.isDateQuickFilter && property.isDate) { %>
275275
<% if ((datePickerType(options.datePickers, property) === "startAndEndDatePicker") || (datePickerType(options.datePickers, property) === "startOrEndDatePicker")) { %>
276276
<div mat-menu-item *ngIf="isInCollapsedMenu('start-end-<%= property.propertyName %>')" >
277-
<div (click)="openInDialog<%= property.propertyName %>()">Set <%= property.propertyName %></div>
277+
<div (click)="openInDialog<%= property.propertyName %>()">Set <%= property.propertyName %></div>
278278
</div>
279279
<% } else if (datePickerType(options.datePickers, property) === "singleDatePicker") { %>
280280
<div mat-menu-item *ngIf="isInCollapsedMenu('single-date-<%= property.propertyName %>')" >
281-
<div (click)="openInDialog<%= property.propertyName %>()">Set <%= property.propertyName %></div>
281+
<div (click)="openInDialog<%= property.propertyName %>()">Set <%= property.propertyName %></div>
282282
</div>
283283
<% } %>
284284
<% } %>
285285
<% if (options.isEnumQuickFilter && property.isEnum) { %>
286286
<div mat-menu-item *ngIf="isInCollapsedMenu('form-field-select-<%= property.propertyName %>')">
287-
<div (click)="openInDialog<%= property.propertyName %>()">Set <%= property.propertyName %></div>
287+
<div (click)="openInDialog<%= property.propertyName %>()">Set <%= property.propertyName %></div>
288288
</div>
289289
<% } %>
290290
<% } %>
291-
291+
292292
<div mat-menu-item *ngIf="isInCollapsedMenu('refresh-data-button')" (click)="triggerReloadFilter()">
293293
<mat-icon data-test="refresh-data-icon-collapsed" class="material-icons"
294294
>autorenew</mat-icon>
295295
<span>Refresh</span>
296-
</div>
296+
</div>
297297

298298
<div
299299
mat-menu-item
300300
*ngIf="isInCollapsedMenu('export-data-button')"
301301
(click)="triggerExportToCsv()"
302-
data-test="export-data-button-table-collapsed">
302+
data-test="export-data-button-<% if (options.componentType === 'table') { %>table<% } else { %>card<% } %>-collapsed">
303303
<mat-icon data-test="export-data-icon-collapsed" class="material-icons"
304304
>file_download</mat-icon>
305305
<span>Download</span>
@@ -318,7 +318,7 @@
318318
</div>
319319
<% } %>
320320
</mat-menu>
321-
321+
322322
<% for(let property of propValues) { %>
323323
<% if (options.isDateQuickFilter && property.isDate) { %>
324324
<% if ((datePickerType(options.datePickers, property) === "startAndEndDatePicker") || (datePickerType(options.datePickers, property) === "startOrEndDatePicker")) { %>
@@ -372,7 +372,7 @@
372372
<% } %>
373373
<% if (options.isEnumQuickFilter && property.isEnum) { %>
374374
<ng-template #<%= property.propertyName %>>
375-
<div class="padding-40" >
375+
<div class="padding-40" >
376376
<mat-form-field data-test="form-field-select" id="form-field-select-<%= property.propertyName %>" appearance="fill">
377377
<mat-label data-test="select-label">{{ '<%= options.versionedAccessPrefix %><%= property.propertyValue %>.preferredName' | transloco }}</mat-label>
378378
<mat-select data-test="select" [(value)]="filterService.<%= property.propertyName %>Selected" #<%= property.propertyName %>Select multiple>
@@ -405,7 +405,7 @@
405405
</div>
406406
</mat-select>
407407
</mat-form-field>
408-
</div>
408+
</div>
409409
</ng-template>
410410
<% } %>
411411
<% } %>

0 commit comments

Comments
 (0)