@rkosafo/cai.components 0.0.62 → 0.0.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -14,7 +14,7 @@ export function calculateTableHeight(config = {}) {
|
|
|
14
14
|
* Create a reactive table height store that updates on window resize
|
|
15
15
|
*/
|
|
16
16
|
export function createTableHeightStore(config = {}) {
|
|
17
|
-
let height =
|
|
17
|
+
let height = calculateTableHeight(config);
|
|
18
18
|
const updateHeight = () => {
|
|
19
19
|
height = calculateTableHeight(config);
|
|
20
20
|
};
|