Skip to content

Commit eca649b

Browse files
Minor fixes
1 parent 9fdb6ee commit eca649b

File tree

7 files changed

+14
-2
lines changed

7 files changed

+14
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "iknow-entity-browser",
3-
"version": "0.9.8",
3+
"version": "0.9.9",
44
"description": "Visualizer for iKnow entities",
55
"main": "gulpfile.babel.js",
66
"scripts": {
156 Bytes
Binary file not shown.

src/static/fonts/iknowentitybrowsericons.svg

Lines changed: 1 addition & 0 deletions
Loading
156 Bytes
Binary file not shown.
88 Bytes
Binary file not shown.

src/static/js/settings/values.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ const settingsTypes = {
1717
tabularShowHiddenNodes: Boolean
1818
};
1919

20+
// List of settings that cannot be saved to local storage, but can be set explicitly
21+
// (f.e. URL params).
22+
const unsaveableSettings = new Set([]);
23+
2024
// defaults are assigned here
2125
const settings = {
2226
compact: false,
@@ -114,7 +118,11 @@ export function applyFixedClasses () {
114118

115119
function saveSettings () {
116120
applyFixedClasses();
117-
storage.save(STORAGE_KEY, settings);
121+
let sts = Object.assign({}, settings);
122+
for (let s of unsaveableSettings) {
123+
delete sts[s];
124+
}
125+
storage.save(STORAGE_KEY, sts);
118126
}
119127

120128
export function setInputValue (e = {}) {

src/static/scss/icons.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,6 @@
124124
.icon-collapse:before {
125125
content: "\42";
126126
}
127+
.icon-external-link:before {
128+
content: "\43";
129+
}

0 commit comments

Comments
 (0)