19319: Add cost field to loadContainers select query to prevent clearing cost race...
authorStephen Smith <stephen@curii.com>
Mon, 31 Oct 2022 22:35:42 +0000 (18:35 -0400)
committerStephen Smith <stephen@curii.com>
Mon, 31 Oct 2022 22:35:42 +0000 (18:35 -0400)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

src/common/formatters.ts
src/store/processes/processes-actions.ts

index b16465127e96835ae8ac994fd080f1b878883461..1fbf17103941f2d7bf819a5a66940a51f832c515 100644 (file)
@@ -100,7 +100,7 @@ export const formatPropertyValue = (pv: PropertyValue, vocabulary?: Vocabulary)
     return "";
 };
 
-export const formatContainerCost = (cost: number) => {
+export const formatContainerCost = (cost: number): string => {
     const decimalPlaces = 3;
 
     const factor = Math.pow(10, decimalPlaces);
index 8a94d8cfcabb8413f522f568e660ede6084cc3e7..f7822e06ee064929cba111529311d5e5c987f051 100644 (file)
@@ -60,6 +60,7 @@ const containerFieldsNoMounts = [
     "auth_uuid",
     "command",
     "container_image",
+    "cost",
     "created_at",
     "cwd",
     "environment",