mirror of
https://github.com/CzBiX/qb-web.git
synced 2026-04-13 18:01:17 +08:00
Minor fix
This commit is contained in:
@@ -187,7 +187,13 @@ export default Vue.extend({
|
||||
|
||||
this.submitting = true;
|
||||
this.error = null;
|
||||
const files = this.files.length ? this.files : null;
|
||||
let files;
|
||||
if (this.files.length) {
|
||||
files = this.files;
|
||||
Vue.delete(this.userParams, 'urls');
|
||||
} else {
|
||||
files = null;
|
||||
}
|
||||
|
||||
try {
|
||||
const resp = await api.addTorrents(this.userParams, files);
|
||||
@@ -207,7 +213,7 @@ export default Vue.extend({
|
||||
|
||||
this.dialog = false;
|
||||
|
||||
this.userParams.urls = null;
|
||||
Vue.delete(this.userParams, 'urls');
|
||||
this.files = [];
|
||||
|
||||
this.$refs.form.resetValidation();
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
<v-icon>mdi-pause</v-icon>
|
||||
</v-btn>
|
||||
<v-divider vertical inset />
|
||||
<v-btn icon @click="showInfo" title="Info" v-if="selectedRows.length <= 4">
|
||||
<v-btn icon @click="showInfo()" title="Info" v-if="selectedRows.length <= 4">
|
||||
<v-icon>mdi-alert-circle</v-icon>
|
||||
</v-btn>
|
||||
<v-menu offset-y>
|
||||
|
||||
@@ -5,7 +5,7 @@ export default {
|
||||
},
|
||||
'pt.keepfrds.com': {
|
||||
name: 'FRDS',
|
||||
icon: 'https://pt.keepfrds.com/static/favicon.ico',
|
||||
icon: 'https://pt.keepfrds.com/static/favicon-64x64.png',
|
||||
},
|
||||
'hdcmct.org': {
|
||||
name: 'CMCT',
|
||||
|
||||
Reference in New Issue
Block a user