MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / updateSavedColumns

Function updateSavedColumns

assets/js/DragToDo.js:43–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41
42// Set localStorage Arrays
43function updateSavedColumns() {
44 listArrays = [backlogListArray, progressListArray, completeListArray, onHoldListArray];
45 const arrayNames = ['backlog', 'progress', 'complete', 'onHold'];
46 arrayNames.forEach((arrayName, index) => {
47 localStorage.setItem(`${arrayName}Items`, JSON.stringify(listArrays[index]));
48 });
49}
50
51// Filter Array to remove empty values
52function filterArray(array) {

Callers 1

updateDOMFunction · 0.85

Calls 1

stringifyMethod · 0.80

Tested by

no test coverage detected