Skip to content

Commit

Permalink
remove mobile-nav
Browse files Browse the repository at this point in the history
  • Loading branch information
AmonDeShir committed Dec 12, 2024
1 parent 301e299 commit b501e1a
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion resources/js/Pages/Admin/AdminsPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ const sortOptions: SortOption[] = [
isAdmin: false,
isSuperAdmin: false
}"
mobile-nav
deletable
creatable
>
Expand Down
1 change: 0 additions & 1 deletion resources/js/Pages/Admin/SchoolsPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ function customQueries(): string[] {
new-button-text="Dodaj szkołę"
:new-item-data="{ name: 'Nowa szkoła', regon: '', apartmentNumber: '', street: '', buildingNumber: '', city: '', numberOfStudents: 0, zipCode: '' }"
display-search-in-lower-case
mobile-nav
creatable
>
<template #actions>
Expand Down
1 change: 0 additions & 1 deletion resources/js/Pages/Admin/UsersPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ function customQueries(): string[] {
:custom-queries="customQueries"
resource-name="users"
disable-edit-button
mobile-nav
>
<template #actions>
<button
Expand Down
3 changes: 1 addition & 2 deletions resources/js/components/Crud/CrudPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ const props = defineProps<{
disableEditButton?: boolean
deletable?: boolean
creatable?: boolean
mobileNav?: boolean
}>()
defineSlots<{
Expand Down Expand Up @@ -64,7 +63,7 @@ const [query, options] = useSorter(props.options, searchValue, props.customQueri

<template>
<div class="flex flex-col w-full pb-3">
<div data-name="toolbar" class="flex xs:flex-row px-4 gap-2" :class="{ 'flex-col': mobileNav }">
<div data-name="toolbar" class="flex flex-col xs:flex-row px-4 gap-2">
<Dropdown pointer-position="left" class-btn="rounded-lg" class="mr-auto" :options="options" title="Sortuj">
<div class="flex gap-2 hover:bg-primary/5 hover:text-primary duration-200 p-2 rounded-lg h-fit">
<ArrowsUpDownIcon class="size-6" />
Expand Down

0 comments on commit b501e1a

Please sign in to comment.