Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions client/src/components/dashboard/SetUserVacationBalance.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@
const user = ApiClientBase.user
const officeUsers = ref<any[]>([])
const selectedUsers = ref<Api.User[]>([])
const page = ref(0)

Check warning on line 126 in client/src/components/dashboard/SetUserVacationBalance.vue

View workflow job for this annotation

GitHub Actions / Run linters (18.x)

'page' is assigned a value but never used
const count = ref(0)

Check warning on line 127 in client/src/components/dashboard/SetUserVacationBalance.vue

View workflow job for this annotation

GitHub Actions / Run linters (18.x)

'count' is assigned a value but never used
const balances: Ref<{ [userId: number]: Api.BalanceVacation }> = ref({})
const isLoading = ref(false)

Expand Down Expand Up @@ -177,7 +177,7 @@
const defaultBalanceValues = [
{ key: 'annual', label: 'Annual', value: 30 },
{ key: 'emergency', label: 'Emergency', value: 10 },
{ key: 'excuse', label: 'Excuse', value: 10 },
{ key: 'excuse', label: 'Excuse', value: 12 },
{ key: 'compensation', label: 'Compensation', value: 30 },
{ key: 'paternity', label: 'Paternity', value: 30 },
{ key: 'maternity', label: 'Maternity', value: 30 },
Expand Down Expand Up @@ -215,8 +215,8 @@
{
label: 'Leave excuse',
key: 'excuse',
value: 6,
validationRules: getBalanceRules('excuse', 10)
value: 12,
validationRules: getBalanceRules('excuse', 12)
},
{
label: 'Compensation',
Expand Down Expand Up @@ -256,8 +256,8 @@
{
label: 'Leave excuse',
key: 'excuse',
value: 6,
validationRules: getBalanceRules('excuse', 10)
value: 12,
validationRules: getBalanceRules('excuse', 12)
},
{
label: 'Compensation',
Expand Down
4 changes: 2 additions & 2 deletions client/src/utils/add_update_user_form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ export const userBalance = ref<InputInterface[]>([
{
label: 'Excuse',
key: 'excuse',
value: 6,
value: 12,
type: 'number',
rules: getBalanceRules('excuse', 10),
rules: getBalanceRules('excuse', 12),
isLoading: false,
disabled: false,
},
Expand Down
Loading