shows option only to metadata modal edit
This commit is contained in:
parent
ad7bf0f157
commit
7cc07f7b8d
|
@ -210,7 +210,9 @@
|
||||||
</b-checkbox>
|
</b-checkbox>
|
||||||
</b-field>
|
</b-field>
|
||||||
|
|
||||||
<b-field>
|
<b-field
|
||||||
|
v-if="!this.isRepositoryLevel"
|
||||||
|
>
|
||||||
<b-checkbox
|
<b-checkbox
|
||||||
class="is-inline-block"
|
class="is-inline-block"
|
||||||
v-model="editForm.repository_level"
|
v-model="editForm.repository_level"
|
||||||
|
@ -326,7 +328,7 @@
|
||||||
if ((metadatum.metadata_type_object && metadatum.metadata_type_object.form_component) || metadatum.edit_form == '') {
|
if ((metadatum.metadata_type_object && metadatum.metadata_type_object.form_component) || metadatum.edit_form == '') {
|
||||||
let repository = this.editForm.repository_level;
|
let repository = this.editForm.repository_level;
|
||||||
if (repository && repository === 'yes') {
|
if (repository && repository === 'yes') {
|
||||||
this.isRepositoryLevel = true;
|
this.isRepositoryLevel = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.fillExtraFormData(this.editForm);
|
this.fillExtraFormData(this.editForm);
|
||||||
|
|
Loading…
Reference in New Issue