wip fix
This commit is contained in:
parent
94caebd289
commit
d7062e979f
|
|
@ -25,10 +25,10 @@ export const ViRoot: FC<{}> = ({}) => {
|
||||||
entry = vi.layout?.entry;
|
entry = vi.layout?.entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-1 flex-col relative">
|
<div className="flex flex-1 flex-col relative">
|
||||||
{entry.map((id) => {
|
{Array.isArray(entry) &&
|
||||||
|
entry.map((id) => {
|
||||||
const meta = is_layout ? vi.layout?.meta[id] : vi.meta[id];
|
const meta = is_layout ? vi.layout?.meta[id] : vi.meta[id];
|
||||||
if (meta) {
|
if (meta) {
|
||||||
if (Element) {
|
if (Element) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue