You've already forked DataMate
fix(frontend): hide action dropdown in CardView when operations list is empty
This commit is contained in:
@@ -276,7 +276,7 @@ function CardView<T extends BaseCardDataType>(props: CardViewProps<T>) {
|
||||
{formatDateTime(item?.updatedAt)}
|
||||
</div>
|
||||
</div>
|
||||
{operations && (
|
||||
{operations && ops(item).length > 0 && (
|
||||
<ActionDropdown
|
||||
actions={ops(item)}
|
||||
onAction={(key) => {
|
||||
|
||||
Reference in New Issue
Block a user