MCPcopy Create free account
hub / github.com/FSGModding/FSG_Mod_Assistant / #doFolders

Method #doFolders

renderer/renderJS/setup_ui.js:138–158  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136 }
137
138 #doFolders() {
139 const fullHTML = []
140 for ( const propCollect of this.wizard.mods ) {
141 if ( propCollect.isModFolder ) {
142 fullHTML.push(this.#doFolderLine(
143 propCollect.baseModFolder,
144 this.folders.includes(propCollect.baseModFolder),
145 propCollect.ver
146 ))
147 }
148 if ( propCollect.hasCollections.length !== 0 ) {
149 fullHTML.push(...propCollect.hasCollections.map((x) => this.#doFolderLine(
150 x,
151 this.folders.includes(x),
152 propCollect.ver
153 )))
154 }
155 }
156
157 MA.byIdNodeArray('step_3_folders', fullHTML)
158 }
159
160 #doButton(key, newValue, curValue, extraText = '') {
161 const node = document.createElement('div')

Callers 1

initMethod · 0.95

Calls 1

#doFolderLineMethod · 0.95

Tested by

no test coverage detected