diff --git a/app/segments/(team)/blacklist.js b/app/segments/(team)/blacklist.js
index da070ac9..478e1d58 100644
--- a/app/segments/(team)/blacklist.js
+++ b/app/segments/(team)/blacklist.js
@@ -5,6 +5,7 @@ import { Button, List } from "react-native-paper";
import { themeColors } from "~/Constants";
import { getErrorString } from "~/Utility";
import DialogComponent from "~/components/dialog";
+import EmptyScreen from "~/components/emptyScreen";
import ErrorComponent from "~/components/errorComponent";
import Loading from "~/components/loading";
import RefreshInvalidate from "~/components/refreshInvalidate";
@@ -38,6 +39,17 @@ function Blacklist() {
if (blacklistError) return ;
+ if (Object.keys(blacklist).length === 0) {
+ return (
+
+ );
+ }
+
return (
}
diff --git a/app/segments/(team)/invitelist.js b/app/segments/(team)/invitelist.js
index ca2f5c7e..56f6ddb6 100644
--- a/app/segments/(team)/invitelist.js
+++ b/app/segments/(team)/invitelist.js
@@ -12,6 +12,7 @@ import { Button, List } from "react-native-paper";
import { themeColors } from "~/Constants";
import { getErrorString } from "~/Utility";
import DialogComponent from "~/components/dialog";
+import EmptyScreen from "~/components/emptyScreen";
import ErrorComponent from "~/components/errorComponent";
import Loading from "~/components/loading";
import RefreshInvalidate from "~/components/refreshInvalidate";
@@ -90,59 +91,74 @@ export function Invitelist() {
setRemoveCounter(0);
}}
/>
- }
- >
-
+ ) : (
+ }
>
- {Object.keys(invitelist).map((inviteId) => {
- return (
- (
-
-
-
- )}
+
+ {Object.keys(invitelist).length === 0 ? (
+
- );
- })}
-
-
+ ) : (
+ Object.keys(invitelist).map((inviteId) => {
+ return (
+ (
+
+
+
+ )}
+ />
+ );
+ })
+ )}
+
+
+ )}
{statusText}
+ );
+ }
+
return (
}