mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-28 18:00:15 +01:00
🎨 Cloud region scoped announcement
This commit is contained in:
parent
4140d76ae6
commit
d4845eaa83
2 changed files with 11 additions and 7 deletions
|
|
@ -302,7 +302,9 @@ func refreshAnnouncement() {
|
|||
}
|
||||
if !exist {
|
||||
existingAnnouncements = append(existingAnnouncements, announcement)
|
||||
newAnnouncements = append(newAnnouncements, announcement)
|
||||
if Conf.CloudRegion == announcement.Region {
|
||||
newAnnouncements = append(newAnnouncements, announcement)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue