handle empty fragment length

update license in JSON
This commit is contained in:
timothycarambat
2023-10-09 13:18:55 -07:00
parent 3b8ba64adc
commit 00a47b7966
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1,6 +1,7 @@
{
"name": "vector-admin-frontend",
"type": "module",
"license": "MIT",
"scripts": {
"start": "vite --open",
"build": "vite build",
@@ -232,7 +232,7 @@ const Fragment = ({
)}
</td>
<td className="px-6 py-4">
{Object.keys(metadata).length > 0 ? (
{Object.keys(metadata)?.length > 0 ? (
<button
onClick={() => {
document