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:
Alexander Brown
2025-12-06 13:24:58 -08:00
committed by GitHub
parent 23ab924405
commit bca7a435ed
2 changed files with 3 additions and 3 deletions

View File

@@ -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: []
})

View File

@@ -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>