Skip to content
Snippets Groups Projects
Commit 5042fe5f authored by Janis Streib's avatar Janis Streib :owl:
Browse files

UPD: handle empty object title

parent b2fca13d
No related branches found
No related tags found
No related merge requests found
......@@ -217,7 +217,6 @@ export default {
},
object_title: {
required: false,
type: String,
default() {
return null
}
......
......@@ -38,7 +38,7 @@
</div>
<b-card-body class="element-content">
{{ function2text(element.object_function) }} in {{ element.object_fq_name }}<br/>
{{element.object_title}}
<span v-if="element.object_title">{{element.object_title}}</span>
<ul>
<li v-for="field in element.preview_fields" v-bind:key="field">
{{ element.func_descr[field].description_sys_scope }}:
......@@ -177,6 +177,7 @@ export default {
},
async executeTa() {
await this.$store.dispatch('executeTransaction')
this.$store.commit('reloadRouterComp')
}
},
data() {
......
......@@ -198,6 +198,7 @@ export default {
this.db_editor_object_function = 'create'
this.db_editor_old_data = {}
this.db_editor_presets = {'bcd_name': bcd.name}
this.db_editor_object_title = null
this.$root.$emit('bv::show::modal', 'dbeditor_macauth')
},
editClient(item) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment