Browse Source

fix/pr review included

pull/3083/head
Muhammed Mustafa 2 years ago
parent
commit
4745c9d810
  1. 6
      packages/nc-gui-v2/components/shared-view/AskPassword.vue

6
packages/nc-gui-v2/components/shared-view/AskPassword.vue

@ -1,5 +1,5 @@
<script setup lang="ts">
import { notification } from 'ant-design-vue'
import { message } from 'ant-design-vue'
import { extractSdkResponseErrorMsg } from '~/utils'
const props = defineProps<Props>()
const emit = defineEmits(['update:modelValue'])
@ -19,9 +19,7 @@ const onFinish = async () => {
vModel.value = false
} catch (e: any) {
console.error(e)
notification.error({
message: await extractSdkResponseErrorMsg(e),
})
message.error(await extractSdkResponseErrorMsg(e))
}
}
</script>

Loading…
Cancel
Save