mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-04 21:26:08 +08:00
Remove remaining this.$set()
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
@@ -76,9 +76,9 @@ export default {
|
||||
const name = `restore-${ this.backupName }-${ randomStr(5).toLowerCase() }`;
|
||||
|
||||
if (!this.backupName) {
|
||||
this.$set(this, 'errors', [
|
||||
this['errors'] = [
|
||||
this.t('harvester.modal.restore.message.backup')
|
||||
]);
|
||||
];
|
||||
buttonCb(false);
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user