feat(hide-columns): correct storage keys
This commit is contained in:
parent
d55d3ef484
commit
610d13a729
@ -2,12 +2,11 @@ import { Utility } from '../../core/utility';
|
||||
import { StorageManager } from '../../lib/storage-manager/storage-manager';
|
||||
|
||||
const HIDE_COLUMNS_CONTAINER_IDENT = 'uw-hide-columns';
|
||||
const TABLE_HEADER_IDENT = 'hide-column-header';
|
||||
const TABLE_HEADER_IDENT = 'uw-hide-column-header';
|
||||
|
||||
const TABLE_UTILS_ATTR = 'table-utils';
|
||||
const TABLE_UTILS_CONTAINER_SELECTOR = `[${TABLE_UTILS_ATTR}]`;
|
||||
|
||||
|
||||
const HIDER_TEXT_ATTR = 'header-text';
|
||||
|
||||
const HIDE_BUTTON_FADE_DELAY = 3000;
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
$newline never
|
||||
<th .table__th *{attrs} :isSortable:.sortable :isSorted SortAsc:.sorted-asc :isSorted SortDesc:.sorted-desc>
|
||||
<th .table__th *{attrs} :isSortable:.sortable :isSorted SortAsc:.sorted-asc :isSorted SortDesc:.sorted-desc uw-hide-column-header=#{maybe "" toPathPiece sortableKey}>
|
||||
$maybe flag <- sortableKey
|
||||
$case directions
|
||||
$of [SortAsc]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user