topdown / VVV-Dashboard

Dashboard for Varying Vagrant Vagrants https://github.com/Varying-Vagrant-Vagrants/VVV

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sortable Host List

topdown opened this issue · comments

So I wanted to make the host table sortable.
And it is in the branch I am working on.
After 4 hours of this simple piece of JS code kicking my butt I need some fresh eyes on it.

It stores to a cookie and that all works fine, but its not re-ordering on page load to the stored setting.
Tried arrays and string storage with same results.

Need someone to look into this JS
The branch is refactor-actions and will be merging to develop soon.
https://github.com/topdown/VVV-Dashboard/blob/refactor-actions/src/js/scripts.js#L227

Fixed via 50f6677