@proveanything/smartlinks-utils-ui 0.9.12 → 0.9.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2125,6 +2125,9 @@ var useShellDeepLink = (args) => {
|
|
|
2125
2125
|
useEffect(() => {
|
|
2126
2126
|
if (!deepLinkState.enabled) return;
|
|
2127
2127
|
if (selectedItemId) return;
|
|
2128
|
+
if (lastAppliedDLRef.current === "" && (deepLinkState.urlState.recordId ?? null) !== null) {
|
|
2129
|
+
return;
|
|
2130
|
+
}
|
|
2128
2131
|
const echoView = deepLinkState.urlState.view ?? "";
|
|
2129
2132
|
const currentDeepLinkedRecordId = pendingDeepLinkRecordId ?? deepLinkState.urlState.recordId ?? null;
|
|
2130
2133
|
const preservingPendingRecordId = preserveInitialRecordIdRef.current && !!currentDeepLinkedRecordId;
|