mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-23 08:55:32 +00:00
Update screenshot-dialog.component.ts
This commit is contained in:
@ -24,7 +24,7 @@ export class ScreenshotDialogComponent implements OnInit {
|
||||
private deviceService: DeviceDetectorService
|
||||
) {
|
||||
this.nameForm = this.formBuilder.group({
|
||||
screenshotName: new FormControl(null, [Validators.required])
|
||||
screenshotName: new FormControl(`screenshot-${Date.now()}`, [Validators.required])
|
||||
});
|
||||
this.isPngAvailable = this.electronService.isWindows || (this.deviceService.getDeviceInfo().os==='Windows');
|
||||
}
|
||||
|
Reference in New Issue
Block a user