|
|
@ -428,27 +428,27 @@ watch(view, (nextView) => { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="flex flex-wrap gap-2 mb-4"> |
|
|
|
<div class="flex flex-wrap gap-2 mb-4"> |
|
|
|
<button |
|
|
|
<NcButton |
|
|
|
v-if="hiddenColumns.length" |
|
|
|
v-if="hiddenColumns.length" |
|
|
|
type="button" |
|
|
|
type="secondary" |
|
|
|
class="nc-form-add-all color-transition bg-white transform hover:(text-primary ring ring-accent ring-opacity-100) active:translate-y-[1px] px-2 py-1 shadow-md rounded" |
|
|
|
class="nc-form-add-all" |
|
|
|
data-testid="nc-form-add-all" |
|
|
|
data-testid="nc-form-add-all" |
|
|
|
@click="addAllColumns" |
|
|
|
@click="addAllColumns" |
|
|
|
> |
|
|
|
> |
|
|
|
<!-- Add all --> |
|
|
|
<!-- Add all --> |
|
|
|
{{ $t('general.addAll') }} |
|
|
|
{{ $t('general.addAll') }} |
|
|
|
</button> |
|
|
|
</NcButton> |
|
|
|
|
|
|
|
|
|
|
|
<button |
|
|
|
<NcButton |
|
|
|
v-if="localColumns.length" |
|
|
|
v-if="localColumns.length" |
|
|
|
type="button" |
|
|
|
type="secondary" |
|
|
|
class="nc-form-remove-all color-transition bg-white transform hover:(text-primary ring ring-accent ring-opacity-100) active:translate-y-[1px] px-2 py-1 shadow-md rounded" |
|
|
|
class="nc-form-remove-all" |
|
|
|
data-testid="nc-form-remove-all" |
|
|
|
data-testid="nc-form-remove-all" |
|
|
|
@click="removeAllColumns" |
|
|
|
@click="removeAllColumns" |
|
|
|
> |
|
|
|
> |
|
|
|
<!-- Remove all --> |
|
|
|
<!-- Remove all --> |
|
|
|
{{ $t('general.removeAll') }} |
|
|
|
{{ $t('general.removeAll') }} |
|
|
|
</button> |
|
|
|
</NcButton> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
@ -785,15 +785,16 @@ watch(view, (nextView) => { |
|
|
|
</Draggable> |
|
|
|
</Draggable> |
|
|
|
|
|
|
|
|
|
|
|
<div class="justify-center flex mt-6"> |
|
|
|
<div class="justify-center flex mt-6"> |
|
|
|
<button |
|
|
|
<NcButton |
|
|
|
type="submit" |
|
|
|
html-type="submit" |
|
|
|
|
|
|
|
type="primary" |
|
|
|
:disabled="!isUIAllowed('dataInsert')" |
|
|
|
:disabled="!isUIAllowed('dataInsert')" |
|
|
|
class="uppercase scaling-btn nc-form-submit" |
|
|
|
class="nc-form-submit" |
|
|
|
data-testid="nc-form-submit" |
|
|
|
data-testid="nc-form-submit" |
|
|
|
@click="submitForm" |
|
|
|
@click="submitForm" |
|
|
|
> |
|
|
|
> |
|
|
|
{{ $t('general.submit') }} |
|
|
|
{{ $t('general.submit') }} |
|
|
|
</button> |
|
|
|
</NcButton> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</a-card> |
|
|
|
</a-card> |
|
|
|
</a-form> |
|
|
|
</a-form> |
|
|
|