This commit is contained in:
2022-02-15 22:57:20 +00:00
parent 86ef5d90eb
commit c8ce606cd6
2 changed files with 11 additions and 3 deletions

View File

@@ -73,6 +73,7 @@
:sort-desc="[true]"
:header-props="{ sortByText: $ay.t('Sort') }"
data-cy="backupTable"
:item-class="itemRowClasses"
:no-data-text="$ay.t('NoData')"
>
<template v-slot:[`item.actions`]="{ item }">
@@ -342,6 +343,14 @@ export default {
vm.formState.loading = false;
window.$gz.errorHandler.handleFormError(error, vm);
}
},
itemRowClasses: function(item) {
let ret = "";
if (item.length == "0 B") {
ret += this.form().tableRowErrorClass();
}
return ret;
}
}
};