rm logging
This commit is contained in:
parent
9e4ce438ee
commit
412e1f8928
@ -12,9 +12,8 @@ const reservedMappings = ["u", "s"];
|
|||||||
* Load mappings, create a table showing them with a "remove" button each
|
* Load mappings, create a table showing them with a "remove" button each
|
||||||
*/
|
*/
|
||||||
function renderMappings() {
|
function renderMappings() {
|
||||||
console.log(localStorage.getItem('mappings'));
|
// console.log(localStorage.getItem('mappings'));
|
||||||
const mappings = new Map(JSON.parse(localStorage.getItem('mappings')) || []);
|
const mappings = new Map(JSON.parse(localStorage.getItem('mappings')) || []);
|
||||||
console.log(typeof mappings);
|
|
||||||
const tbody = document.querySelector('#mappingTable tbody');
|
const tbody = document.querySelector('#mappingTable tbody');
|
||||||
tbody.innerHTML = ''; // clear table body
|
tbody.innerHTML = ''; // clear table body
|
||||||
mappings.forEach((directory, key) => {
|
mappings.forEach((directory, key) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user