Release 0.0.6
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"id": "kosmos-storage-audit",
|
||||
"title": "Kosmos Storage Audit",
|
||||
"description": "Analyzes media references and risky storage locations across Foundry data and public roots.",
|
||||
"version": "0.0.5",
|
||||
"version": "0.0.6",
|
||||
"compatibility": {
|
||||
"minimum": "13",
|
||||
"verified": "13"
|
||||
|
||||
@@ -15,7 +15,7 @@ export class StorageAuditReportApp extends foundry.applications.api.ApplicationV
|
||||
resizable: true
|
||||
},
|
||||
position: {
|
||||
width: 760,
|
||||
width: 980,
|
||||
height: 680
|
||||
}
|
||||
};
|
||||
@@ -120,6 +120,8 @@ export class StorageAuditReportApp extends foundry.applications.api.ApplicationV
|
||||
ui.notifications.error(format("KSA.Notify.Failed", { message: error.message }));
|
||||
} finally {
|
||||
this.#loading = false;
|
||||
const currentWidth = this.position?.width ?? 0;
|
||||
if (currentWidth < 980) this.setPosition({ width: 980 });
|
||||
await this.render({ force: true });
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,7 +25,9 @@ export async function analyzeStorage({ listFiles, listSources, onProgress }={})
|
||||
const extracted = extractReferencesFromValue(source.value, {
|
||||
sourceType: source.sourceType,
|
||||
sourceScope: source.sourceScope,
|
||||
sourceLabel: source.sourceLabel
|
||||
sourceLabel: source.sourceLabel,
|
||||
sourceName: source.sourceName,
|
||||
sourceUuid: source.sourceUuid
|
||||
});
|
||||
references.push(...extracted);
|
||||
referenceCount += extracted.length;
|
||||
|
||||
Reference in New Issue
Block a user