refactor
This commit is contained in:
parent
d69f7baaf5
commit
94d4f8271e
15 changed files with 34 additions and 29 deletions
|
@ -41,7 +41,7 @@ import FormButton from '@/components/ui/button.vue';
|
|||
import XBotProtection from './bot-protection.vue';
|
||||
import * as os from '@/os';
|
||||
import * as symbols from '@/symbols';
|
||||
import { fetchInstance } from '@/instance';
|
||||
import { refetchInstanceMeta } from '@/instance';
|
||||
|
||||
export default defineComponent({
|
||||
components: {
|
||||
|
@ -82,7 +82,7 @@ export default defineComponent({
|
|||
os.apiWithDialog('admin/update-meta', {
|
||||
summalyProxy: this.summalyProxy,
|
||||
}).then(() => {
|
||||
fetchInstance();
|
||||
refetchInstanceMeta();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue