Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Roland Sams committed Jan 24, 2024
1 parent 4c81823 commit 6082134
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
[value]="selectedNoten"
[datasource]="notenDatasource"
[listConfig]="notenAutoCompleteConfig"
[label]="configService.appNaming.Noten + ' hinzufügen'"
[label]="configService.uiNaming.Noten + ' hinzufügen'"
(valueChange)="addNotenToMappe($event)"
></mkj-autocomplete>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
[datasource]="notenDatasource"
[listConfig]="notenAutoCompleteConfig"
[label]="
configService.appNaming.Noten + ' hinzufügen'
configService.uiNaming.Noten + ' hinzufügen'
"
(valueChange)="attachNoten($event)"
></mkj-autocomplete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,38 +50,36 @@
></mkj-termin-teilnahme-selector>
</div>
<mkj-display-model [model]="termin"></mkj-display-model>
<div class="flex justify-content-center">
<div class="p-buttonset">
<button
pButton
pRipple
label="Details"
icon="pi pi-list"
class="p-button-secondary p-button-rounded p-button-raised"
(click)="navigateSingleAusrueckung(termin)"
></button>
<button
*visibleFor="[Permissions.TERMIN_SAVE]"
pButton
pRipple
icon="pi pi-copy"
label="Duplizieren"
class="p-button-secondary p-button-rounded p-button-raised"
(click)="this.duplicateAusrueckung(termin)"
></button>
<button
*visibleFor="[
Permissions.TERMIN_SAVE,
Permissions.TERMIN_GRUPPENLEITER_SAVE
]"
pButton
pRipple
icon="pi pi-pencil"
label="Bearbeiten"
class="p-button-secondary p-button-rounded p-button-raised"
(click)="this.navigateEditor(termin)"
></button>
</div>
<div class="flex justify-content-center gap-2">
<button
pButton
pRipple
label="Details"
icon="pi pi-list"
class="p-button-secondary p-button-rounded p-button-raised"
(click)="navigateSingleAusrueckung(termin)"
></button>
<button
*visibleFor="[Permissions.TERMIN_SAVE]"
pButton
pRipple
icon="pi pi-copy"
label="Duplizieren"
class="p-button-secondary p-button-outlined p-button-rounded p-button-raised"
(click)="this.duplicateAusrueckung(termin)"
></button>
<button
*visibleFor="[
Permissions.TERMIN_SAVE,
Permissions.TERMIN_GRUPPENLEITER_SAVE
]"
pButton
pRipple
icon="pi pi-pencil"
label="Bearbeiten"
class="p-button-secondary p-button-outlined p-button-rounded p-button-raised"
(click)="this.navigateEditor(termin)"
></button>
</div>
</ng-template>

Expand Down
5 changes: 3 additions & 2 deletions src/app/utilities/mkj-list/mkj-list.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ export class MkjListComponent<T> implements OnChanges {
public onStateRestore(event: TableState): void {
// console.log(event);
if (
this.configuration.initialFilter &&
MkjListHelper.hasSetFilters(event) === false
this.configuration.initialFilter
// &&
// MkjListHelper.hasSetFilters(event) === false
) {
Object.entries(this.configuration.initialFilter).forEach(
([key, value]) => {
Expand Down

0 comments on commit 6082134

Please sign in to comment.