Refactor
This commit is contained in:
parent
5ef4a52bbd
commit
c3ae6f3a4a
25 changed files with 73 additions and 62 deletions
|
|
@ -117,8 +117,8 @@ export default defineComponent({
|
|||
return;
|
||||
}
|
||||
|
||||
const token = permissions == null || permissions.length === 0 ? null : await new Promise(async (res, rej) => {
|
||||
os.popup(await import('@/components/token-generate-window.vue'), {
|
||||
const token = permissions == null || permissions.length === 0 ? null : await new Promise((res, rej) => {
|
||||
os.popup(import('@/components/token-generate-window.vue'), {
|
||||
title: this.$t('tokenRequested'),
|
||||
information: this.$t('pluginTokenRequestedDescription'),
|
||||
initialName: name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue