fix(FE): fixing floating button & revert require auth component

This commit is contained in:
randy-ar
2025-12-18 11:33:18 +07:00
parent 918e85e0cc
commit a935ffd9f5
4 changed files with 154 additions and 261 deletions
+3 -1
View File
@@ -33,7 +33,9 @@ const FloatingActionsButton = ({
}: FloatingActionsButtonProps) => {
// Jika tidak ada baris yang dipilih, jangan tampilkan FAB
const positionStyles =
selectedRowIds.length > 0 ? 'bottom-[10%]' : 'bottom-[-100%]';
selectedRowIds.length > 0
? 'bottom-[10%] opacity-100'
: 'bottom-[-10%] opacity-0';
// Helper untuk menentukan gaya warna tombol approval
const getApprovalColor = (action: 'APPROVED' | 'REJECTED') => {