Skip to content
Snippets Groups Projects

Create wikis without content

Merged Annabel Dunstone Gray requested to merge empty-wiki-page into master
All threads resolved!
5 files
+ 19
9
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -147,9 +147,6 @@ export default {
autocompleteDataSources() {
return gl.GfmAutoComplete?.dataSources;
},
noContent() {
return !this.content.trim();
},
csrfToken() {
return csrf.token;
},
@@ -200,7 +197,7 @@ export default {
return !this.isContentEditorActive;
},
disableSubmitButton() {
return this.noContent || !this.title;
return !this.title;
},
drawioEnabled() {
return typeof this.drawioUrl === 'string' && this.drawioUrl.length > 0;
Loading