From 1097ec64b276217f028c2c582fe8f2599a1aec85 Mon Sep 17 00:00:00 2001 From: x032205 Date: Mon, 19 May 2025 15:40:07 -0400 Subject: [PATCH] ui improvements --- frontend/src/components/v2/Select/Select.tsx | 1 + .../components/ShareSecretForm.tsx | 34 ++++++++++++++++--- 2 files changed, 31 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/v2/Select/Select.tsx b/frontend/src/components/v2/Select/Select.tsx index e0dc90186..a35dc00d2 100644 --- a/frontend/src/components/v2/Select/Select.tsx +++ b/frontend/src/components/v2/Select/Select.tsx @@ -123,6 +123,7 @@ export const SelectItem = forwardRef( return ( + Limited to{" "} + {filteredExpiresInOptions[filteredExpiresInOptions.length - 1].label} by + organization + + ) : undefined + } > onChange(e)} className="w-full" > - {filteredViewLimitOptions.map(({ label, value: viewLimitValue }) => ( - + {viewLimitOptions.map(({ label, value: viewLimitValue }) => ( + v.label === label)} + > {label} ))}