Skip to content

Commit

Permalink
fix: add unified-cost option to data-type list
Browse files Browse the repository at this point in the history
Signed-off-by: sulmo <[email protected]>
  • Loading branch information
sulmoJ committed Nov 15, 2024
1 parent 7107b86 commit bc0ca76
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const storeState = reactive({
const state = reactive({
targetCostDataSource: computed<CostDataSourceItems|undefined>(() => {
if (!costAnalysisPageGetters.selectedDataSourceId) return undefined;
return storeState.costDataSource[costAnalysisPageGetters.selectedDataSourceId];
return costAnalysisPageGetters.isUnifiedCost ? undefined : storeState.costDataSource[costAnalysisPageGetters.selectedDataSourceId];
}),
additionalMenuItems: computed<MenuItem[]>(() => {
if (state.targetCostDataSource) {
Expand Down

0 comments on commit bc0ca76

Please sign in to comment.