Skip to content

Commit

Permalink
Fixes lte operator
Browse files Browse the repository at this point in the history
  • Loading branch information
syropian committed Apr 15, 2024
1 parent b04736f commit 2011927
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
3 changes: 1 addition & 2 deletions resources/components/shared/dialogs/ConfirmDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import ActionDialog from '@/components/shared/core/ActionDialog.vue'
import BaseButton from '@/components/shared/core/BaseButton.vue'
import { useConfirm } from '@/composables/useConfirm'
import { ExclamationTriangleIcon } from '@heroicons/vue/24/outline'
const { confirmConfig } = useConfirm()
</script>
Expand All @@ -18,7 +17,7 @@ const { confirmConfig } = useConfirm()
<div
class="mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full bg-red-100 dark:bg-red-400/10"
>
<ExclamationTriangleIcon
<i-lucide-triangle-alert
class="h-6 w-6 text-red-600 dark:text-red-500"
aria-hidden="true"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const checkSponsorshipStatus = () => {
<BaseDialog
:is-open="isOpen"
:hide="hide"
dialog-classes="sm:max-w-[680px] px-0 pt-0 pb-0 sm:p-0 sm:pb-4 sm:h-[560px]"
dialog-classes="sm:max-w-[740px] px-0 pt-0 pb-0 sm:p-0 sm:pb-4 sm:h-[560px]"
>
<DialogTitle
class="w-full rounded-t-lg border-b border-gray-200 dark:border-gray-700 bg-gray-100 dark:bg-gray-900 py-4 px-5 text-xl font-bold text-gray-700 dark:text-gray-200"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import ActionDialog from '@/components/shared/core/ActionDialog.vue'
import BaseButton from '@/components/shared/core/BaseButton.vue'
import { useUpgradeAuthScopeDialog } from '@/composables/useUpgradeAuthScopeDialog'
import { ExclamationTriangleIcon } from '@heroicons/vue/24/outline'
const { isOpen, hide, redirectToGitHub } = useUpgradeAuthScopeDialog()
</script>
Expand Down
12 changes: 6 additions & 6 deletions resources/utils/predicates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,19 +86,19 @@ export const numberOperators: PredicateOperator[] = [
{
check: (source: number, target: number) => Number(source) > Number(target),
key: 'greaterThan',
label: '>',
label: 'greater than',
},
{
check: (source: number, target: number) => Number(source) >= Number(target),
key: 'greaterThanOrEqualTo',
label: '>=',
label: 'greater than or equal to',
},
{ check: (source: number, target: number) => Number(source) === Number(target), key: 'equals', label: '=' },
{ check: (source: number, target: number) => Number(source) < Number(target), key: 'lessThan', label: '<' },
{ check: (source: number, target: number) => Number(source) === Number(target), key: 'equals', label: 'equals' },
{ check: (source: number, target: number) => Number(source) < Number(target), key: 'lessThan', label: 'less than' },
{
check: (source: number, target: number) => Number(source) >= Number(target),
check: (source: number, target: number) => Number(source) <= Number(target),
key: 'lessThanOrEqualTo',
label: '<=',
label: 'less than or equal to',
},
]

Expand Down

0 comments on commit 2011927

Please sign in to comment.