This commit is contained in:
2020-04-19 23:18:13 +00:00
parent 683e117187
commit 7a61a76359
4 changed files with 11 additions and 9 deletions

View File

@@ -2,6 +2,10 @@
//AyaNova Translation related utilities
export default {
get(key) {
//no translation for Wiki
if (key == "Wiki") {
return "Wiki";
}
if (!window.$gz._.has(window.$gz.store.state.translationText, key)) {
return "??" + key;
}

View File

@@ -813,12 +813,6 @@ export default {
/**
todo: Add wiki field to form defintions at server so can hide or show in form customization
- Also for dataLists? (for reporting not grid I mean)
todo: event log type just for edit wiki?
- this is because a wiki is not a discrete object in v8 so rights follow object itself and maybe it's necessary to know when wiki was edited?
- or is this more important than some other events? Not sure.

View File

@@ -204,8 +204,8 @@
@input="fieldValueChanged('customFields')"
></gz-custom-fields>
</v-col>
<!-- Show the wiki unless hidden by form customization or not read only, or if it has content -->
<v-col v-if="form().showMe(this, 'wiki')" cols="12">
<v-col v-if="form().showMe(this, 'Wiki')" cols="12">
<gz-wiki
ref="wiki"
v-model="obj.wiki"