restored
This commit is contained in:
parent
e0c4997f1e
commit
5ca9afa9e8
10 changed files with 185 additions and 13 deletions
|
|
@ -9,7 +9,7 @@ import {
|
|||
import { useMemo } from 'react';
|
||||
import { getMetadata } from '../../metadata_parser';
|
||||
import { useExamplePatterns } from '../useExamplePatterns';
|
||||
import { parseJSON } from '../util.mjs';
|
||||
import { parseJSON, isUdels } from '../util.mjs';
|
||||
import { ButtonGroup } from './Forms.jsx';
|
||||
import { settingsMap, useSettings } from '../../settings.mjs';
|
||||
|
||||
|
|
@ -99,7 +99,7 @@ export function PatternsTab({ context }) {
|
|||
};
|
||||
const viewingPatternID = viewingPatternData?.id;
|
||||
|
||||
const autoResetPatternOnChange = !window.parent?.location.pathname.includes('oodles');
|
||||
const autoResetPatternOnChange = !isUdels();
|
||||
|
||||
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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue