Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoRCD committed Feb 26, 2025
1 parent a1e0fa6 commit 7623cb2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 2 additions & 1 deletion apps/base/components/CustomButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ type ButtonProps = {
rounded?: 'none' | 'sm' | 'md' | 'lg' | 'xl'
to?: string
loading?: boolean
loadingAuto?: boolean
onClick?: ((event: MouseEvent) => void | Promise<void>) | Array<((event: MouseEvent) => void | Promise<void>)>
}
Expand All @@ -28,7 +29,7 @@ const props = withDefaults(defineProps<ButtonProps>(), {
>
<UButton
v-bind="props"
class="text-(--ui-text-highlighted) bg-transparent hover:bg-transparent"
class="text-(--ui-text-highlighted) bg-transparent hover:bg-transparent disabled:bg-transparent"
:class="roundedType[props.rounded]"
>
<slot v-if="!!$slots.default" />
Expand Down
4 changes: 1 addition & 3 deletions apps/shelve/app/components/layout/Navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ const allNavigations = computed(() => {
return [...team, ...userNav, ...admin]
})
const navigationItems = ref(allNavigations.value)
const isSearchActive = ref(false)
const searchQuery = ref('')
const selectedTeamIndex = ref(0)
Expand Down Expand Up @@ -116,7 +114,7 @@ defineShortcuts({

<Motion v-else :layout="true" class="flex items-center gap-2">
<Motion
v-for="nav in navigationItems"
v-for="nav in allNavigations"
:key="nav.to"
:layout="true"
:initial="{ scale: 0.9, opacity: 0 }"
Expand Down
4 changes: 2 additions & 2 deletions apps/shelve/app/components/team/Manager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,10 @@ watch(search, () => {
})
})
function createTeamFromSearch() {
async function createTeamFromSearch() {
if (!search.value) return
createTeam(search.value)
await createTeam(search.value)
isSearchActive.value = false
search.value = ''
}
Expand Down

0 comments on commit 7623cb2

Please sign in to comment.