|
|
@ -748,15 +748,18 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
<!-- Prevent unsaved change modal --> |
|
|
|
<!-- Prevent unsaved change modal --> |
|
|
|
<NcModal v-model:visible="preventModalStatus" size="small"> |
|
|
|
<NcModal v-model:visible="preventModalStatus" size="small"> |
|
|
|
<template #header> |
|
|
|
<div class=""> |
|
|
|
<div class="flex flex-row items-center gap-x-2">Do you want to save the changes ?</div> |
|
|
|
<div class="flex flex-row items-center gap-x-2 text-base font-bold"> |
|
|
|
</template> |
|
|
|
{{ $t('tooltip.saveChanges') }} |
|
|
|
<div class="mt-2"> |
|
|
|
</div> |
|
|
|
<div class="flex flex-row justify-end gap-x-2 mt-6"> |
|
|
|
<div class="flex font-medium mt-2"> |
|
|
|
|
|
|
|
{{ $t('activity.doYouWantToSaveTheChanges') }} |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="flex flex-row justify-end gap-x-2 mt-5"> |
|
|
|
<NcButton type="secondary" @click="discardPreventModal">{{ $t('labels.discard') }}</NcButton> |
|
|
|
<NcButton type="secondary" @click="discardPreventModal">{{ $t('labels.discard') }}</NcButton> |
|
|
|
|
|
|
|
|
|
|
|
<NcButton key="submit" type="primary" label="Rename Table" loading-label="Renaming Table" @click="saveChanges"> |
|
|
|
<NcButton key="submit" type="primary" label="Rename Table" loading-label="Renaming Table" @click="saveChanges"> |
|
|
|
{{ $t('general.save') }} |
|
|
|
{{ $t('tooltip.saveChanges') }} |
|
|
|
</NcButton> |
|
|
|
</NcButton> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|