From 59928432df050210625ef2d1e74dd97d7941f383 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 16 Feb 2021 17:46:07 +0100 Subject: [PATCH] better logs filename --- src/domain/session/settings/SettingsViewModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain/session/settings/SettingsViewModel.js b/src/domain/session/settings/SettingsViewModel.js index e682a0c8..50aabd2c 100644 --- a/src/domain/session/settings/SettingsViewModel.js +++ b/src/domain/session/settings/SettingsViewModel.js @@ -113,7 +113,7 @@ export class SettingsViewModel extends ViewModel { async exportLogs() { 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`); } }