Skip to content

Commit

Permalink
fix(message): change property type to string
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmacdonald committed Oct 28, 2024
1 parent 161e5d1 commit e3f692d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/webapp/app/VoyantDefaultApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Ext.define('Voyant.VoyantDefaultApp', {
}
},
config: {
showServerMessage: false
showServerMessage: 'false'
},

listeners: {
Expand Down Expand Up @@ -115,7 +115,7 @@ Ext.define('Voyant.VoyantDefaultApp', {
}]
}]
});
if (this.getShowServerMessage() === true) {
if (this.getShowServerMessage() === 'true') {
this.getServerMessage();
}
this.callParent(arguments);
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Ext.onReady(function(){
openMenu: '<%= System.getProperty("org.voyanttools.voyant.openmenu")==null ? "" : System.getProperty("org.voyanttools.voyant.openmenu") %>',
allowInput: '<%= System.getProperty("org.voyanttools.server.allowinput")==null ? "" : System.getProperty("org.voyanttools.server.allowinput") %>',
allowDownload: '<%= System.getProperty("org.voyanttools.server.allowdownload")==null ? "" : System.getProperty("org.voyanttools.server.allowdownload") %>',
showServerMessage: <%= System.getProperty("org.voyanttools.server.showservermessage")==null ? false : System.getProperty("org.voyanttools.server.showservermessage") %>,
showServerMessage: '<%= System.getProperty("org.voyanttools.server.showservermessage")==null ? "false" : System.getProperty("org.voyanttools.server.showservermessage") %>',
entitiesEnabled: <%= application.getInitParameter("entitiesenabled") %>
},
launch: function() {
Expand Down

0 comments on commit e3f692d

Please sign in to comment.