|
|
|
@ -42,7 +42,6 @@ import {
|
|
|
|
|
useRoles, |
|
|
|
|
useViewColumnsOrThrow, |
|
|
|
|
useViewData, |
|
|
|
|
watch, |
|
|
|
|
useViewsStore, |
|
|
|
|
} from '#imports' |
|
|
|
|
import type { ImageCropperConfig } from '~/lib' |
|
|
|
@ -71,13 +70,7 @@ const enum NcForm {
|
|
|
|
|
subheading = 'nc-form-sub-heading', |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const { isMobileMode, user, getBaseUrl, appInfo } = useGlobal() |
|
|
|
|
|
|
|
|
|
const { dashboardUrl } = useDashboard() |
|
|
|
|
|
|
|
|
|
const workspaceStore = useWorkspace() |
|
|
|
|
|
|
|
|
|
const { copy } = useCopy() |
|
|
|
|
const { isMobileMode, user } = useGlobal() |
|
|
|
|
|
|
|
|
|
const { $api, $e } = useNuxtApp() |
|
|
|
|
|
|
|
|
@ -239,7 +232,6 @@ async function submitForm() {
|
|
|
|
|
submitted.value = true |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
async function clearForm() { |
|
|
|
|
if (isLocked.value || !isUIAllowed('dataInsert')) return |
|
|
|
|
|
|
|
|
@ -1322,7 +1314,7 @@ useEventListener(
|
|
|
|
|
> |
|
|
|
|
{{ $t('activity.clearForm') }} |
|
|
|
|
</NcButton> |
|
|
|
|
<div class="flex items-center gap-3"> |
|
|
|
|
|
|
|
|
|
<NcButton |
|
|
|
|
html-type="submit" |
|
|
|
|
type="primary" |
|
|
|
@ -1336,7 +1328,6 @@ useEventListener(
|
|
|
|
|
{{ $t('general.submit') }} |
|
|
|
|
</NcButton> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</a-form> |
|
|
|
|
|
|
|
|
|
<div v-if="!parseProp(formViewData?.meta).hide_branding" class="px-8 lg:px-12"> |
|
|
|
|