(mod)
| 2185 | } |
| 2186 | |
| 2187 | doesModConflict(mod) { |
| 2188 | if ( this.selectedDest.size === 0 ) { return true } |
| 2189 | |
| 2190 | const thisKey = [...this.selectedDest][0] |
| 2191 | |
| 2192 | for ( const modKey of window.state.track.lastPayload.modList[thisKey].modSet ) { |
| 2193 | const checkMod = window.state.track.lastPayload.modList[thisKey].mods[modKey] |
| 2194 | if ( mod.fileDetail.shortName === checkMod.fileDetail.shortName && mod.fileDetail.isFolder === checkMod.fileDetail.isFolder ) { |
| 2195 | return true |
| 2196 | } |
| 2197 | } |
| 2198 | return false |
| 2199 | } |
| 2200 | |
| 2201 | // MARK: update display |
| 2202 | updateButton() { |