angularjs-table
angularjs-table copied to clipboard
Set local storage before it get it fully
@varticvasile do you think adding the check for the existence of columns to the saveToStorage
method makes more sense? These changes seem a little messy to me...
Yes i did. but it's used in more cases than those 3.
Is the problem that saveToStorage
is getting called when columns don't exist?
The problem is that saveToStorage is called before the loadFromStorage has finish. and sets the storage with default data. Not with the last data.