better logs filename

This commit is contained in:
Bruno Windels 2021-02-16 17:46:07 +01:00
parent 1f91fa9a94
commit 59928432df

View file

@ -113,7 +113,7 @@ export class SettingsViewModel extends ViewModel {
async exportLogs() { async exportLogs() {
const logExport = await this.logger.export(); const logExport = await this.logger.export();
this.platform.saveFileAs(logExport.asBlob(), "logs.json"); this.platform.saveFileAs(logExport.asBlob(), `hydrogen-logs-${this.platform.clock.now()}.json`);
} }
} }