+
+
+
Activation Required
+
You have available seats, but activation is needed.
+
+ {isAdmin ? (
+
+ ) : (
+
Contact your admin for activation.
+ )}
+
+ )
+}
+
+function ActivationRequiredSelfHosted() {
+ const { data } = useSelfHostedCurrentUser()
+ const { data: selfHostedSeats } = useSelfHostedSeatsConfig()
+
+ const hasSelfHostedSeats =
+ selfHostedSeats?.seatsUsed &&
+ selfHostedSeats?.seatsLimit &&
+ selfHostedSeats?.seatsUsed < selfHostedSeats?.seatsLimit
+
+ return hasSelfHostedSeats ? (
+