Skip to content

Commit 5423f04

Browse files
committed
graphite comment
1 parent eb1fd8a commit 5423f04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/obsidian/src/utils/publishNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ export const ensurePublishedRelationsAccuracy = async ({
395395
const rel = relationInstancesData.relations[record.source_local_id];
396396
const group = record.account_uid;
397397
const pos = (rel?.publishedToGroupId || []).indexOf(group);
398-
if (rel && pos < 1) {
398+
if (rel && pos < 0) {
399399
if (rel.publishedToGroupId === undefined) rel.publishedToGroupId = [];
400400
rel.publishedToGroupId.push(group);
401401
changed = true;

0 commit comments

Comments
 (0)