added emptyscreen component to availability and event-types (#2187)
* added emptyscreen component to availability * added emptyscreen for event-types too * added placeholder for adding new schedule * didnt realise we had a Working Hours string alredy * nit * remove white background from empty availability
This commit is contained in:
1 parent
deffb77875
commit
95f92cac28
6 files changed
+74
-310
No files matched your search
@@ -60,7 +60,7 @@ export function NewScheduleButton({ name = "new-schedule" }: { name?: string })
|
||||
createMutation.mutate(values);
|
||||
}}>
|
||||
<div className="mt-3 space-y-4">
|
||||
<TextField label={t("name")} {...register("name")} />
|
||||
<TextField placeholder={t("default_schedule_name")} label={t("name")} {...register("name")} />
|
||||
</div>
|
||||
<div className="mt-8 flex flex-row-reverse gap-x-2">
|
||||
<Button type="submit" loading={createMutation.isLoading}>
|
||||
|
||||
Reference in new issue
Block a user