diff --git a/ui/src/tempVars/utils/graph.ts b/ui/src/tempVars/utils/graph.ts index b6e325aa2..aa3257aa6 100644 --- a/ui/src/tempVars/utils/graph.ts +++ b/ui/src/tempVars/utils/graph.ts @@ -5,11 +5,9 @@ import templateReplace, { templateInternalReplace, } from 'src/tempVars/utils/replace' -import {getSelectedValue, getLocalSelectedValue} from 'src/tempVars/utils' +import {resolveValues} from 'src/tempVars/utils' -import {TEMPLATE_VARIABLE_TYPES} from 'src/tempVars/constants' - -import {Template, TemplateType, TemplateValue, RemoteDataState} from 'src/types' +import {Template, RemoteDataState} from 'src/types' type TemplateName = string @@ -223,97 +221,23 @@ export async function hydrateTemplate( selections = {}, }: HydrateTemplateOptions ): Promise