This commit is contained in:
Adrian Hopek
2022-01-18 15:01:34 +01:00
parent 5d580a71d0
commit e59ae4a855
18 changed files with 40 additions and 37 deletions

View File

@@ -291,7 +291,7 @@ export default {
name: 'Payroll',
href: '#',
iconForeground: 'text-yellow-700',
iconBackground: 'bg-yellow-50'
iconBackground: 'bg-yellow-50',
},
{
icon: ReceiptRefundIcon,

View File

@@ -80,7 +80,7 @@ export default {
errors: {
type: Object,
default: () => ({oauth: null}),
}
},
},
};
</script>

View File

@@ -201,6 +201,6 @@ export default {
}))
.post('/users');
},
}
},
};
</script>

View File

@@ -205,6 +205,6 @@ export default {
}))
.put(`/users/${this.user.id}`);
},
}
},
};
</script>

View File

@@ -71,7 +71,7 @@
<tr
v-for="user in users.data"
:key="user.id"
:class="{ 'bg-red-50': user.trashed, 'hover:bg-blumilk-25': !user.trashed }"
:class="{ 'bg-red-50': user.deleted, 'hover:bg-blumilk-25': !user.deleted }"
>
<td class="px-4 py-4 whitespace-nowrap text-sm text-gray-500">
<div class="flex">
@@ -125,7 +125,7 @@
>
<MenuItems class="origin-top-right absolute right-0 mt-2 w-56 z-10 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none">
<div
v-if="!user.trashed"
v-if="!user.deleted"
class="py-1"
>
<MenuItem
@@ -295,6 +295,6 @@ export default {
return {
search,
};
}
},
};
</script>