{userLabels.map(label => (
{
color='neutral'
onClick={() => handleEditLabel(label)}
startDecorator={}
+
>
Edit
@@ -132,6 +151,7 @@ const LabelView = () => {
))}
+
{userLabels.length === 0 && (
No labels available. Add a new label to get started.
@@ -152,7 +172,7 @@ const LabelView = () => {
position: 'fixed',
bottom: 0,
left: 10,
- p: 2, // padding
+ p: 2,
display: 'flex',
justifyContent: 'flex-end',
gap: 2,
@@ -172,6 +192,7 @@ const LabelView = () => {
+
)
}
diff --git a/src/views/Modals/Inputs/ConfirmationModal.jsx b/src/views/Modals/Inputs/ConfirmationModal.jsx
index 10f9bee..882522e 100644
--- a/src/views/Modals/Inputs/ConfirmationModal.jsx
+++ b/src/views/Modals/Inputs/ConfirmationModal.jsx
@@ -24,6 +24,7 @@ function ConfirmationModal({ config }) {
}}
fullWidth
sx={{ mr: 1 }}
+ color={config.color ? config.color : 'primary'}
>
{config?.confirmText}