|
{{ column.label }}
|
@switch (column.key) {
@case ("serial") {
@if (
element.status !== "missing" &&
(element.token.username === authService.username() || authService.role() === "admin")
) {
{{ element.token[column.key] }}
} @else {
{{ element.token[column.key] }}
}
@if (element.status !== "missing") {
}
@case ("active") {
@if (element.status !== "missing") {
{{ tableUtilsService.getDisplayText(column.key, element.token) }}
}
}
@case ("username") {
@if (element.status !== "missing") {
@if (element.token[column.key]) {
{{ element.token[column.key] }}
} @else if (containerService.containerDetails().containers[0]?.users?.length === 1) {
}
}
}
@default {
@if (element.status !== "missing") {
@if (tableUtilsService.isLink(column.key)) {
{{ element.token[column.key] }}
} @else {
{{ element.token[column.key] }}
}
} @else if (column.key === "tokentype") {
{{ element.token.tokentype }}
}
}
}
|
Actions
|
@if (element.status !== "missing") {
@if (authService.actionAllowed("container_remove_token")) {
}
@if (authService.actionAllowed("delete")) {
}
}
|
|---|
| No data matching the filter. |