mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-07 02:21:23 +00:00
filtered out objects in objects tab without thumbnails
This commit is contained in:
1 parent
a918d92e45
commit
fd68d43392
1 file changed
+3
@@ -66,6 +66,7 @@ export const ObjectsTab = ({ type }: Props) => {
|
||||
} : {}
|
||||
}
|
||||
})
|
||||
.filter((item,i) => (item.thumbnail))
|
||||
});
|
||||
}
|
||||
});
|
||||
@@ -76,6 +77,8 @@ export const ObjectsTab = ({ type }: Props) => {
|
||||
type === AssetType.CHARACTER ? characterFilter : objectFilter;
|
||||
const items = type === AssetType.CHARACTER ? characterItems : objects;
|
||||
|
||||
console.log("😎",objects);
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="w-full overflow-x-auto">
|
||||
|
||||
Reference in new issue
Block a user