reset/autoplay when window PARENT does not exist or does not contain oodles
This commit is contained in:
parent
961e931c31
commit
b46e8c07be
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ export function PatternsTab({ context }) {
|
||||||
};
|
};
|
||||||
const viewingPatternID = viewingPatternData?.id;
|
const viewingPatternID = viewingPatternData?.id;
|
||||||
|
|
||||||
const autoResetPatternOnChange = !window.location.pathname.includes('oodles');
|
const autoResetPatternOnChange = !window.parent?.location.pathname.includes('oodles');
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="px-4 w-full dark:text-white text-stone-900 space-y-2 pb-4 flex flex-col overflow-hidden max-h-full">
|
<div className="px-4 w-full dark:text-white text-stone-900 space-y-2 pb-4 flex flex-col overflow-hidden max-h-full">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue