{assetEntry?.name}
-
+
{assetEntry?.assetType === "PHYSICAL" ? __("Physical") : __("Virtual")}
diff --git a/packages/ui/src/Atoms/DataTable/DataTable.tsx b/packages/ui/src/Atoms/DataTable/DataTable.tsx
index 9e6d40c14..2fda1869d 100644
--- a/packages/ui/src/Atoms/DataTable/DataTable.tsx
+++ b/packages/ui/src/Atoms/DataTable/DataTable.tsx
@@ -97,7 +97,11 @@ export function RowButton({
"py-2 bg-highlight hover:bg-highlight-hover active:bg-highlight-pressed cursor-pointer w-full flex gap-2 items-center justify-center text-sm text-txt-secondary",
props.className,
)}
- style={{ gridColumnEnd: -1, gridColumnStart: 1 }}
+ style={{
+ gridColumnEnd: -1,
+ gridColumnStart: 1,
+ ...props.style,
+ }}
>
{children}
diff --git a/packages/ui/src/Atoms/Select/Select.tsx b/packages/ui/src/Atoms/Select/Select.tsx
index 5cd3830e2..926aeeb54 100644
--- a/packages/ui/src/Atoms/Select/Select.tsx
+++ b/packages/ui/src/Atoms/Select/Select.tsx
@@ -146,12 +146,13 @@ export function Select
({
{onSearch && (
diff --git a/packages/ui/src/Molecules/Table/TextCell.tsx b/packages/ui/src/Molecules/Table/TextCell.tsx
index 6c742a1f0..7c39cd6b8 100644
--- a/packages/ui/src/Molecules/Table/TextCell.tsx
+++ b/packages/ui/src/Molecules/Table/TextCell.tsx
@@ -24,8 +24,10 @@ export function TextCell(props: Props) {
if (props.required && inputValue === "") {
return;
}
- setValue(inputValue);
- onUpdate(props.name, inputValue);
+ if (inputValue !== props.defaultValue) {
+ setValue(inputValue);
+ onUpdate(props.name, inputValue);
+ }
};
return (