Skip to content

Commit 971854c

Browse files
committed
Set revision just in case of revision presence
1 parent 571e400 commit 971854c

File tree

1 file changed

+1
-1
lines changed
  • src/ui/units/connections/components/Page

1 file changed

+1
-1
lines changed

src/ui/units/connections/components/Page/Page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ const PageComponent = (props: PageProps) => {
197197
}, [actions, extractedEntryId, workbookId]);
198198

199199
React.useEffect(() => {
200-
if (revisionsSupported && !isFakeEntry) {
200+
if (revId && revisionsSupported && !isFakeEntry) {
201201
actions.setRevision(revId);
202202
}
203203
}, [revId, revisionsSupported, actions, isFakeEntry]);

0 commit comments

Comments
 (0)