MCPcopy Index your code
hub / github.com/stemdeckapp/stemdeck / _deleteSection

Function _deleteSection

static/js/sections.js:283–287  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

281}
282
283function _deleteSection(id) {
284 _sections = _sections.filter((s) => s.id !== id);
285 _render();
286 _scheduleSave();
287}
288
289function _openRename(id, labelEl) {
290 if (!labelEl) return;

Callers 1

_makeSectionElFunction · 0.85

Calls 2

_renderFunction · 0.85
_scheduleSaveFunction · 0.85

Tested by

no test coverage detected