Skip to content

Commit fb4cd3f

Browse files
committed
remove admin field
1 parent 6356fb1 commit fb4cd3f

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

apps/webapp/app/routes/api.v1.plain.customer-cards.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -193,22 +193,6 @@ export async function action({ request }: ActionFunctionArgs) {
193193
],
194194
}),
195195
uiComponent.spacer({ size: "S" }),
196-
uiComponent.row({
197-
mainContent: [
198-
uiComponent.text({
199-
text: "Admin",
200-
size: "S",
201-
color: "MUTED",
202-
}),
203-
],
204-
asideContent: [
205-
uiComponent.badge({
206-
label: user.admin ? "Yes" : "No",
207-
color: user.admin ? "BLUE" : "GREY",
208-
}),
209-
],
210-
}),
211-
uiComponent.spacer({ size: "S" }),
212196
uiComponent.row({
213197
mainContent: [
214198
uiComponent.text({

0 commit comments

Comments
 (0)