mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
[hotfix] fix cant delete maps in shared contents + fix conflict with maps selected and maps deletion
This commit is contained in:
@@ -86,7 +86,7 @@ export class MapsManagerService {
|
||||
|
||||
public async deleteMaps(maps: BsmLocalMap[], version?: BSVersion): Promise<boolean>{
|
||||
|
||||
const versionLinked = await this.versionHaveMapsLinked(version);
|
||||
const versionLinked = !version || await this.versionHaveMapsLinked(version);
|
||||
|
||||
const askModal = maps.length > 1 || !this.config.get<boolean>(MapsManagerService.REMEMBER_CHOICE_DELETE_MAP_KEY);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user