rm logging

This commit is contained in:
matth@ultra 2024-09-01 19:36:07 +02:00
parent 9e4ce438ee
commit 412e1f8928

View File

@ -12,9 +12,8 @@ const reservedMappings = ["u", "s"];
* Load mappings, create a table showing them with a "remove" button each
*/
function renderMappings() {
console.log(localStorage.getItem('mappings'));
// console.log(localStorage.getItem('mappings'));
const mappings = new Map(JSON.parse(localStorage.getItem('mappings')) || []);
console.log(typeof mappings);
const tbody = document.querySelector('#mappingTable tbody');
tbody.innerHTML = ''; // clear table body
mappings.forEach((directory, key) => {