diff --git a/compass/components/Table/ResourceTable.tsx b/compass/components/Table/ResourceTable.tsx
index 5595e8b..e2b5a50 100644
--- a/compass/components/Table/ResourceTable.tsx
+++ b/compass/components/Table/ResourceTable.tsx
@@ -106,7 +106,11 @@ export default function ResourceTable({ data, setData }: ResourceTableProps) {
),
cell: (info) => (
- {info.getValue()}
+
+ {info.getValue().length != 0
+ ? info.getValue()
+ : "no program"}
+
),
}),
diff --git a/compass/components/Table/ServiceTable.tsx b/compass/components/Table/ServiceTable.tsx
index 122c88e..02bd1be 100644
--- a/compass/components/Table/ServiceTable.tsx
+++ b/compass/components/Table/ServiceTable.tsx
@@ -115,7 +115,11 @@ export default function ServiceTable({ data, setData }: ServiceTableProps) {
),
cell: (info) => (
- {info.getValue()}
+
+ {info.getValue().length != 0
+ ? info.getValue()
+ : "no program"}
+
),
}),
@@ -128,9 +132,13 @@ export default function ServiceTable({ data, setData }: ServiceTableProps) {
),
cell: (info) => (
- {info.getValue().map((tag: string, index: number) => {
- return {tag};
- })}
+ {info.getValue().length > 0 ? (
+ info.getValue().map((tag: string, index: number) => {
+ return {tag};
+ })
+ ) : (
+ no requirements
+ )}
),
}),
diff --git a/compass/components/Table/UserTable.tsx b/compass/components/Table/UserTable.tsx
index daabc54..2127959 100644
--- a/compass/components/Table/UserTable.tsx
+++ b/compass/components/Table/UserTable.tsx
@@ -97,8 +97,12 @@ export default function UserTable({ data, setData }: UserTableProps) {
>
),
cell: (info) => (
-
-
{info.getValue()}
+
+
+ {info.getValue().length != 0
+ ? info.getValue()
+ : "no role"}
+
),
}),
@@ -122,9 +126,13 @@ export default function UserTable({ data, setData }: UserTableProps) {
),
cell: (info) => (
- {info.getValue().map((tag: string, index: number) => {
- return {tag};
- })}
+ {info.getValue().length > 0 ? (
+ info.getValue().map((tag: string, index: number) => {
+ return {tag};
+ })
+ ) : (
+ no programs
+ )}
),
}),