File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/components/projects/projectId/attributes/attributeId Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ export default function AttributeCalculation() {
355355 < div className = "flex flex-row items-center" >
356356 < Tooltip color = "invert" placement = "right" content = { currentAttribute . state == AttributeState . USABLE || currentAttribute . state == AttributeState . RUNNING ? TOOLTIPS_DICT . ATTRIBUTE_CALCULATION . CANNOT_EDIT_DATATYPE : TOOLTIPS_DICT . ATTRIBUTE_CALCULATION . EDIT_DATATYPE } >
357357 < KernDropdown buttonName = { currentAttribute . dataTypeName } options = { DATA_TYPES } dropdownWidth = "w-52"
358- selectedOption = { ( option : any ) => updateDataType ( option ) } disabledOptions = { disabledOptions } disabled = { currentAttribute . state == AttributeState . USABLE } dropdownClasses = "z-30" />
358+ selectedOption = { ( option : any ) => updateDataType ( option ) } disabledOptions = { disabledOptions } disabled = { currentAttribute . state == AttributeState . USABLE || currentAttribute . dataType == DataTypeEnum . LLM_RESPONSE } dropdownClasses = "z-30" />
359359 </ Tooltip >
360360 { currentAttribute . dataType == DataTypeEnum . EMBEDDING_LIST && < div className = "text-gray-700 text-sm ml-3" > Only useable for similarity search</ div > }
361361 { currentAttribute . dataType == DataTypeEnum . LLM_RESPONSE && < div className = "ml-3 flex flex-row flex-nowrap w-full items-center gap-x-2" >
You can’t perform that action at this time.
0 commit comments