Whitespace cleanup

This commit is contained in:
2019-04-03 17:51:28 +02:00
parent 977a9e2640
commit 784265715f
2 changed files with 5 additions and 5 deletions

View File

@@ -32,7 +32,7 @@ const TEMPLATE =`
class ComponentState {
/**
* Serializable state of this component.
*
*
* @param {Object} tableState
*/
constructor(tableState) {
@@ -163,7 +163,7 @@ Vue.component('attract-app', {
},
/**
* Save table state to localStorage per project and context
* @param {Object} newState
* @param {Object} newState
*/
onTableStateChanged(newState) {
let appState = new ComponentState(newState);
@@ -171,7 +171,7 @@ Vue.component('attract-app', {
try {
localStorage.setItem(this.stateStorageKey, stateJsonStr);
} catch (error) {
// Log and ignore.
// Log and ignore.
console.warn('Unable to save state:', error);
}
},
@@ -189,7 +189,7 @@ Vue.component('attract-app', {
if (!this.isTableInited) {
return StateSaveMode.IGNORE;
}
if (!oldState) {
// Initial state. Replace what we have so we can go back to this state
return StateSaveMode.REPLACE;

View File

@@ -53,4 +53,4 @@ Vue.component('attract-select2', {
});
}
},
})
})