MCPcopy Create free account
hub / github.com/codemistic/Web-Development / removeTransaction

Function removeTransaction

Organisational Manager/assets/js/track.js:97–103  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

95
96// Remove transaction by ID
97function removeTransaction(id) {
98 transactions = transactions.filter(transaction => transaction.id !== id);
99
100 updateLocalStorage();
101
102 init();
103}
104
105// Update local storage transactions
106function updateLocalStorage() {

Callers

nothing calls this directly

Calls 2

updateLocalStorageFunction · 0.85
initFunction · 0.70

Tested by

no test coverage detected