diff --git a/src/components/BotLogin.vue b/src/components/BotLogin.vue index c220046b..4d4e99ca 100644 --- a/src/components/BotLogin.vue +++ b/src/components/BotLogin.vue @@ -123,7 +123,7 @@ const emitLoginResult = (value: boolean) => { const urlDuplicate = computed(() => { const bots = Object.values(botStore.availableBots).find((bot) => bot.botUrl === auth.value.url); - return bots !== undefined; + return !botEdit.value && bots !== undefined; }); const checkFormValidity = () => {