This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user