diff --git a/app/src/protyle/render/av/filter.ts b/app/src/protyle/render/av/filter.ts index b4bd14cb4..420f04e00 100644 --- a/app/src/protyle/render/av/filter.ts +++ b/app/src/protyle/render/av/filter.ts @@ -224,9 +224,22 @@ export const setFilter = async (options: { } }); const response = await fetchSyncPost("/api/av/getAttributeView", {id: targetAVId}); - response.data.av.keyValues.find((item: { key: { id: string, name: string, type: TAVCol } }) => { + response.data.av.keyValues.find((item: { + key: { + id: string, + name: string, + type: TAVCol, + options: { + name: string, + color: string, + }[] + } + }) => { if (item.key.id === colData.rollup.keyID) { filterValue.type = item.key.type; + if (item.key.type === "select") { + colData.options = item.key.options; + } return true; } });