mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-06-29 11:22:02 +08:00
feat: add ALWAYS_SHOW_ANNOUNCEMENT option (#663)
This commit is contained in:
@@ -89,7 +89,11 @@ const getOpenSettings = async (message, notification) => {
|
||||
if (openSettings.value.needAuth) {
|
||||
showAuth.value = true;
|
||||
}
|
||||
if (openSettings.value.announcement && openSettings.value.announcement != announcement.value) {
|
||||
if (openSettings.value.announcement
|
||||
&& !openSettings.value.fetched
|
||||
&& (openSettings.value.announcement != announcement.value
|
||||
|| openSettings.value.alwaysShowAnnouncement)
|
||||
) {
|
||||
announcement.value = openSettings.value.announcement;
|
||||
notification.info({
|
||||
content: () => {
|
||||
|
||||
Reference in New Issue
Block a user