mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
fix layer issue
This commit is contained in:
parent
72f6546e89
commit
abff99de66
@ -108,7 +108,7 @@ export function OverlayItemProfileSettings() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
const layer = layers.find(l => l.name == "People")
|
const layer = layers.find(l => l.itemType.name == "user")
|
||||||
layer?.api?.createItem && toast.promise(
|
layer?.api?.createItem && toast.promise(
|
||||||
layer?.api?.createItem(changedItem),
|
layer?.api?.createItem(changedItem),
|
||||||
{
|
{
|
||||||
|
|||||||
@ -42,7 +42,6 @@ export const OverlayItemsIndexPage = ({ url, layerName, parameterField, breadcru
|
|||||||
scroll();
|
scroll();
|
||||||
}, [addItemPopupType])
|
}, [addItemPopupType])
|
||||||
|
|
||||||
|
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
|
|
||||||
const tags = useTags();
|
const tags = useTags();
|
||||||
|
|||||||
@ -43,7 +43,17 @@ module.exports = {
|
|||||||
require("tw-elements/dist/plugin.cjs")
|
require("tw-elements/dist/plugin.cjs")
|
||||||
],
|
],
|
||||||
daisyui: {
|
daisyui: {
|
||||||
themes: ["light", "dark", "cupcake", "retro", "cyberpunk", "aqua"]
|
themes: ["light", "dark", "cupcake", "retro", "cyberpunk", "aqua",
|
||||||
|
{
|
||||||
|
docutopia: {
|
||||||
|
"primary": "#8e00ff",
|
||||||
|
"secondary": "#00bb7a",
|
||||||
|
"accent": "#006aff",
|
||||||
|
"neutral": "#231502",
|
||||||
|
"base-content": "#ffad6b",
|
||||||
|
"base-100": "#440844",
|
||||||
|
},
|
||||||
|
},]
|
||||||
},
|
},
|
||||||
prefix: 'tw-',
|
prefix: 'tw-',
|
||||||
content: ['./src/**/*.{js,jsx,ts,tsx}'],
|
content: ['./src/**/*.{js,jsx,ts,tsx}'],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user