-
Notifications
You must be signed in to change notification settings - Fork 497
[5760] 하드웨어 최소버전안내문구 entrylms => modal로 변경 #2462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -634,17 +634,15 @@ export default class Hardware { | |||||||||||
| if (!dontShowChecked) { | ||||||||||||
| const title = Lang.Msgs.hardware_need_update_title; | ||||||||||||
| const content = Lang.Msgs.hardware_need_update_content; | ||||||||||||
| entrylms | ||||||||||||
| .alert(content, title, { withDontShowAgain: true }) | ||||||||||||
| .one( | ||||||||||||
| 'click', | ||||||||||||
| (event: any, { dontShowChecked }: { dontShowChecked: boolean }) => { | ||||||||||||
| if (dontShowChecked) { | ||||||||||||
| localStorage.setItem('skipNoticeHWOldVersion', 'true'); | ||||||||||||
| } | ||||||||||||
| resolve(null); | ||||||||||||
| } | ||||||||||||
| ); | ||||||||||||
| Entry.modal.alert(content, title, { | ||||||||||||
| withDontShowAgain: true | ||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Suggested change
|
||||||||||||
| }).then((data: { dontShowChecked: boolean }) => { | ||||||||||||
|
Comment on lines
+638
to
+639
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Suggested change
|
||||||||||||
| const { dontShowChecked } = data || {}; | ||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Suggested change
|
||||||||||||
| if (dontShowChecked) { | ||||||||||||
|
Comment on lines
+640
to
+641
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Suggested change
|
||||||||||||
| localStorage.setItem('skipNoticeHWOldVersion', 'true'); | ||||||||||||
| } | ||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Suggested change
|
||||||||||||
| resolve(null); | ||||||||||||
| }) | ||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||||||||
| } else { | ||||||||||||
| resolve(null); | ||||||||||||
| } | ||||||||||||
|
|
||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Insert
⏎····················