From 32f800a57e5597514b3115c4988bc83dc9a91531 Mon Sep 17 00:00:00 2001
From: Zac Richards <107489668+Zacgoose@users.noreply.github.com>
Date: Mon, 5 May 2025 16:18:13 +0800
Subject: [PATCH] "recipientType" does not exist, conditional enable/disable
device
---
src/pages/identity/administration/devices/index.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/pages/identity/administration/devices/index.js b/src/pages/identity/administration/devices/index.js
index 09bd9ef0d42f..c547a0d800b1 100644
--- a/src/pages/identity/administration/devices/index.js
+++ b/src/pages/identity/administration/devices/index.js
@@ -27,6 +27,7 @@ const Page = () => {
},
confirmText: "Are you sure you want to enable this device?",
multiPost: false,
+ condition: (row) => !row.accountEnabled,
icon: ,
},
{
@@ -39,6 +40,7 @@ const Page = () => {
},
confirmText: "Are you sure you want to disable this device?",
multiPost: false,
+ condition: (row) => row.accountEnabled,
icon: ,
},
{
@@ -80,7 +82,7 @@ const Page = () => {
simpleColumns={[
"displayName",
"accountEnabled",
- "recipientType",
+ "trustType",
"enrollmentType",
"manufacturer",
"model",