feat: 凍結された場合のダイアログを実装 (#7811)
* feat: 凍結された場合のダイアログを実装 * Update CHANGELOG.md * Update basic.js * improve error handling * cypressなんもわからん * Update basic.js
This commit is contained in:
10
src/client/scripts/show-suspended-dialog.ts
Normal file
10
src/client/scripts/show-suspended-dialog.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import * as os from '@client/os';
|
||||
import { i18n } from '@client/i18n';
|
||||
|
||||
export function showSuspendedDialog() {
|
||||
return os.dialog({
|
||||
type: 'error',
|
||||
title: i18n.locale.yourAccountSuspendedTitle,
|
||||
text: i18n.locale.yourAccountSuspendedDescription
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user