mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-22 07:44:11 +00:00
Add feature flag
This commit is contained in:
1
src/config/uiFeatureFlags.ts
Normal file
1
src/config/uiFeatureFlags.ts
Normal file
@@ -0,0 +1 @@
|
||||
export const isQPOV2Enabled = false
|
||||
@@ -31,12 +31,16 @@
|
||||
/>
|
||||
</template>
|
||||
</AssetSortButton>
|
||||
<MediaAssetViewModeToggle v-model:view-mode="viewMode" />
|
||||
<MediaAssetViewModeToggle
|
||||
v-if="isQPOV2Enabled"
|
||||
v-model:view-mode="viewMode"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import SearchBox from '@/components/common/SearchBox.vue'
|
||||
import { isQPOV2Enabled } from '@/config/uiFeatureFlags'
|
||||
import { isCloud } from '@/platform/distribution/types'
|
||||
|
||||
import MediaAssetFilterButton from './MediaAssetFilterButton.vue'
|
||||
|
||||
Reference in New Issue
Block a user