This commit is contained in:
Bastian Wagner
2026-02-17 10:56:08 +01:00
parent eb5d9dd088
commit df41dda7dc
6 changed files with 6 additions and 72 deletions

View File

@@ -9,7 +9,7 @@ import { HotToastService } from '@ngxpert/hot-toast';
import { MatButtonModule } from '@angular/material/button';
import { MatDialog, MatDialogModule } from '@angular/material/dialog';
import { CreateKeyComponent } from './create/create.component';
import { AgDeleteKeyComponent } from '../../shared/ag-grid/components/ag-delete-key/ag-delete-key.component';
import { AgKeyActionsComponent } from '../../shared/ag-grid/components/ag-key-actions/ag-key-actions.component';
import { MatIconModule } from '@angular/material/icon';
import { ArchiveComponent } from './components/archive/archive.component';
import { AgLoadingComponent } from '../../shared/ag-grid/components/ag-loading/ag-loading.component';
@@ -88,7 +88,8 @@ export class KeysComponent {
colId: 'actions'
, headerName: 'Aktionen'
, width: 140
, cellRenderer: AgDeleteKeyComponent
, cellRenderer: AgKeyActionsComponent
, sortable: false
// , onCellClicked: (event) => { this.deleteKey(event.data.id)}
,valueFormatter: (data: any) => { return data; },
}

View File

@@ -14,10 +14,10 @@ import { CreateKeyComponent } from '../../../../modules/keys/create/create.compo
@Component({
selector: 'app-ag-delete-key',
imports: [MatDialogModule, MatTooltipModule],
templateUrl: './ag-delete-key.component.html',
styleUrl: './ag-delete-key.component.scss'
templateUrl: './ag-key-actions.component.html',
styleUrl: './ag-key-actions.component.scss'
})
export class AgDeleteKeyComponent implements ICellRendererAngularComp {
export class AgKeyActionsComponent implements ICellRendererAngularComp {
key!: IKey;
params!: ICellRendererParams<any, any, any>;