mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-30 21:04:59 +00:00
feat(notification): improve notification system with team settings and project-level toggles
This commit is contained in:
@@ -32,7 +32,7 @@ export class ProjectService {
|
||||
data: {
|
||||
name: req.name,
|
||||
teamId: req.teamId,
|
||||
enableNotification: req.enableNotification || false,
|
||||
enableNotification: req.enableNotification ?? true,
|
||||
coverImageKey: req.coverImageKey,
|
||||
},
|
||||
})
|
||||
@@ -304,7 +304,7 @@ export class ProjectService {
|
||||
const pi: ProjectInfo = {
|
||||
id: p.id,
|
||||
name: p.name,
|
||||
enableNotification: p.enableNotification || false,
|
||||
enableNotification: p.enableNotification ?? true,
|
||||
coverImageKey: p.coverImageKey || undefined,
|
||||
updatedAt: p.updatedAt,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user