diff --git a/vue/src/apps/ModelListView/ModelListView.vue b/vue/src/apps/ModelListView/ModelListView.vue index cc896e77..d5cf1780 100644 --- a/vue/src/apps/ModelListView/ModelListView.vue +++ b/vue/src/apps/ModelListView/ModelListView.vue @@ -119,7 +119,6 @@ export default { show_split: false, paginated: false, header_component_name: undefined, - use_plural: false, } }, computed: { @@ -145,17 +144,6 @@ export default { } }) this.$i18n.locale = window.CUSTOM_LOCALE - let apiClient = new ApiApiFactory() - apiClient.retrieveSpace(window.ACTIVE_SPACE_ID).then(r => { - this.use_plural = r.data.use_plural - if (!this.use_plural && this.this_model !== null && this.this_model.create.params[0] !== null && this.this_model.create.params[0].includes('plural_name')) { - let index = this.this_model.create.params[0].indexOf('plural_name') - if (index > -1){ - this.this_model.create.params[0].splice(index, 1) - } - delete this.this_model.create.form.plural_name - } - }) }, methods: { // this.genericAPI inherited from ApiMixin