feat(web): rebuild fleet page with Hub-style identity guard and context actions
- Surface device identity state, carrier details and upstream link health. - Add fleet-level identity monitoring and restart/baseband context actions. - Apply consistent notification scoping across fleet views.
This commit is contained in:
@@ -153,11 +153,13 @@ export function createNotificationCenterApiDataSource(
|
||||
...(draft.condition.mode === 'all' ? {} : { value: draft.condition.value }),
|
||||
},
|
||||
scope:
|
||||
draft.scope.mode === 'tags'
|
||||
? { mode: 'tags', tags: [...draft.scope.tags], match: draft.scope.match }
|
||||
: draft.scope.mode === 'devices'
|
||||
? { mode: 'devices', instanceIds: [...draft.scope.instanceIds] }
|
||||
: { mode: 'all' },
|
||||
draft.scope.mode === 'groups'
|
||||
? { mode: 'groups', groups: [...draft.scope.groups] }
|
||||
: draft.scope.mode === 'tags'
|
||||
? { mode: 'tags', tags: [...draft.scope.tags], match: draft.scope.match }
|
||||
: draft.scope.mode === 'devices'
|
||||
? { mode: 'devices', instanceIds: [...draft.scope.instanceIds] }
|
||||
: { mode: 'all' },
|
||||
channelIds: [...draft.channelIds],
|
||||
templates: { title: draft.templates.title, body: draft.templates.body },
|
||||
...(draft.rateLimit === undefined ? {} : { rateLimit: draft.rateLimit }),
|
||||
|
||||
Reference in New Issue
Block a user