Skip to content

Commit 39bce2b

Browse files
Configuration fix, init message option behavior fix
1 parent 294ebd1 commit 39bce2b

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"printableName": "Cache Web Terminal",
66
"description": "Web-based terminal emulator for Caché administering.",
77
"author": "ZitRo",
8-
"version": "4.0.0-alpha.77",
8+
"version": "4.0.0-alpha.78",
99
"gaID": "UA-83005064-2",
1010
"releaseNumber": 26,
1111
"scripts": {

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Caché Web Terminal
2-
Web-based terminal application for InterSystems Caché database. Access your database from everywhere!
2+
Web-based Caché terminal for InterSystems products. Access your database from everywhere!
33

44
Visit [project page](http://intersystems-ru.github.io/webterminal) for more details, **download** the latest version [here](http://intersystems-ru.github.io/webterminal/#downloads).
55

src/client/js/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ let config =
6161
let o = JSON.parse(storage.get(STORAGE_NAME));
6262
for (let p in o) { if (!metadata.hasOwnProperty(p)) delete o[p]; }
6363
return o;
64-
}) || {}));
64+
})() || {}));
6565

6666
onInit(() => locale.setLocale(config.language));
6767

src/client/js/network/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function checkUpdate () {
2020

2121
function handleNetworkData (data) {
2222
input.clearPrompt();
23-
if (data[`motd`])
23+
if (data[`motd`] && config.get(`initMessage`))
2424
output.printLine(data[`motd`]);
2525
if (data[`versions`] instanceof Array)
2626
printUpdate(data[`versions`]);

0 commit comments

Comments
 (0)