fix: fixed incorrect warningkey creation in unregisterWarningsForId
ref: N25B-450
This commit is contained in:
@@ -187,7 +187,9 @@ export function editorWarningRegistry(get: ZustandGet, set: ZustandSet) : Editor
|
||||
// remove from severity index
|
||||
if (nodeWarnings) {
|
||||
nodeWarnings.forEach((warning) => {
|
||||
const warningKey = `${warning.type}:${warning.scope.handleId}`;
|
||||
const warningKey = warning.scope.handleId
|
||||
? `${warning.type}:${warning.scope.handleId}`
|
||||
: warning.type;
|
||||
sIndex.get(warning.severity)?.delete(`${id}|${warningKey}`);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user