mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-10 01:50:08 +00:00
fix: Button color and default ordering (#7199)
## Summary Small fixes for the button and Modal sorting. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7199-fix-Button-color-and-default-ordering-2c16d73d3650812a8a08f8e8fcd7fd55) by [Unito](https://www.unito.io)
This commit is contained in:
@@ -63,7 +63,7 @@ export function useAssetBrowser(
|
||||
const searchQuery = ref('')
|
||||
const selectedCategory = ref('all')
|
||||
const filters = ref<FilterState>({
|
||||
sortBy: 'name-asc',
|
||||
sortBy: 'recent',
|
||||
fileFormats: [],
|
||||
baseModels: []
|
||||
})
|
||||
|
||||
@@ -43,8 +43,8 @@ const singleFilterOption = computed(() => filterOptions.length === 1)
|
||||
<IconTextButton
|
||||
v-if="isUploadButtonEnabled && singleFilterOption"
|
||||
:label="$t('g.import')"
|
||||
class="ml-auto"
|
||||
type="secondary"
|
||||
class="ml-auto text-base-foreground hover:bg-node-component-widget-input-surface"
|
||||
type="transparent"
|
||||
@click="showUploadDialog"
|
||||
>
|
||||
<template #icon>
|
||||
|
||||
Reference in New Issue
Block a user