This commit is contained in:
zadit
2024-10-17 00:15:35 +07:00
parent 4dd12f3835
commit 8f50909e1a
23 changed files with 415 additions and 177 deletions

View File

@@ -205,11 +205,11 @@ const Item = ({
<div className={styles.itemQty}>
<button
className={styles.addButton}
style={{ backgroundColor: !isAvailable ? "gray" : "#4da94d" }}
style={{ backgroundColor: !isAvailable ? "gray" : "inherit" }}
onClick={handlePlusClick}
disabled={!isAvailable} // Optionally disable the button if not available
>
Tambah
Pesan
</button>
</div>
) : (