Skip to content

Commit 2bba1f5

Browse files
committed
fix: Button color and default ordering
1 parent a8f6bea commit 2bba1f5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/platform/assets/composables/useAssetBrowser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export function useAssetBrowser(
6363
const searchQuery = ref('')
6464
const selectedCategory = ref('all')
6565
const filters = ref<FilterState>({
66-
sortBy: 'name-asc',
66+
sortBy: 'recent',
6767
fileFormats: [],
6868
baseModels: []
6969
})

src/renderer/extensions/vueNodes/widgets/components/form/dropdown/FormDropdownMenuFilter.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ const singleFilterOption = computed(() => filterOptions.length === 1)
4343
<IconTextButton
4444
v-if="isUploadButtonEnabled && singleFilterOption"
4545
:label="$t('g.import')"
46-
class="ml-auto"
47-
type="secondary"
46+
class="ml-auto text-base-foreground hover:bg-node-component-widget-input-surface"
47+
type="transparent"
4848
@click="showUploadDialog"
4949
>
5050
<template #icon>

0 commit comments

Comments
 (0)