Skip to content

Commit

Permalink
Merge pull request #694 from eapearson/develop
Browse files Browse the repository at this point in the history
layout fixes for landing page, don't throw error on service outage
  • Loading branch information
eapearson committed Jun 13, 2018
2 parents d508a6a + b06ac6e commit fc50b11
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"kbase-knockout-extensions-es6": "0.1.4",
"kbase-common-ts": "0.18.0",
"kbase-common-js": "2.16.1",
"kbase-common-es6": "0.5.1",
"kbase-common-es6": "0.5.2",
"kbase-sdk-clients-js": "0.5.1",
"kbase-service-clients-js": "3.3.5",
"kbase-ui-widget": "1.3.0",
Expand Down
2 changes: 1 addition & 1 deletion config/app/dev/plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ plugins:
-
name: dataview
globalName: kbase-ui-plugin-dataview
version: 3.8.0
version: 3.8.2
cwd: src/plugin
source:
bower: {}
Expand Down
2 changes: 1 addition & 1 deletion config/app/prod/plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ plugins:
-
name: dataview
globalName: kbase-ui-plugin-dataview
version: 3.8.0
version: 3.8.2
cwd: src/plugin
source:
bower: {}
Expand Down
12 changes: 10 additions & 2 deletions src/client/modules/lib/kbaseServiceManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ define([
throw new Error(errorMessage);
} else {
console.error(errorMessage);
return null;
}

});
}

Expand All @@ -70,6 +70,7 @@ define([
throw new Error(errorMessage);
} else {
console.error(errorMessage);
return null;
}
});
}
Expand All @@ -89,11 +90,18 @@ define([
throw new Error(errorMessage);
} else {
console.error(errorMessage);
return null;
}
}
}).then((result) => {
let version;
if (serviceConfig.version.propertyPath) {
if (result === null) {
if (!this.throwErrors) {
return null;
} else {
throw new Error('Invalid semver check result: ' + result);
}
} else if (serviceConfig.version.propertyPath) {
version = props.getProp(result, serviceConfig.version.propertyPath);
} else {
version = result;
Expand Down
4 changes: 4 additions & 0 deletions src/plugins/mainwindow/modules/mainWindow.css
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@
align-items: center;
justify-content: left;
display: flex;
width: 0px;
overflow-x: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}

.plugin-mainwindow.widget-mainwindow .-navbar .-cell.-menu {}
Expand Down

0 comments on commit fc50b11

Please sign in to comment.