mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-20 02:18:01 +00:00
set default cancel button in message boxes
This commit is contained in:
@@ -100,7 +100,7 @@ export class WebPlatformService extends PlatformService {
|
||||
const response = await modal.result
|
||||
return { response }
|
||||
} catch {
|
||||
return { response: 0 }
|
||||
return { response: options.cancelId ?? 1 }
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user