fix: refactor to fix merge issues with messageStore and unread counts
This commit is contained in:
1 parent
494a35a0c3
commit
e80d8e73ae
3 files changed
+16
-15
No files matched your search
@@ -60,6 +60,7 @@ export interface Device {
|
||||
// currentMetrics: Protobuf.DeviceMetrics;
|
||||
pendingSettingsChanges: boolean;
|
||||
messageDraft: string;
|
||||
unreadCounts: Map<number, number>;
|
||||
dialog: {
|
||||
import: boolean;
|
||||
QR: boolean;
|
||||
@@ -159,6 +160,7 @@ export const useDeviceStore = createStore<DeviceState>((set, get) => ({
|
||||
pendingSettingsChanges: false,
|
||||
messageDraft: "",
|
||||
nodeErrors: new Map(),
|
||||
unreadCounts: new Map(),
|
||||
|
||||
|
||||
setStatus: (status: Types.DeviceStatusEnum) => {
|
||||
|
||||
Reference in new issue
Block a user