Updated scheduled tasks
This commit is contained in:
@@ -10,10 +10,17 @@ defineProps<{
|
||||
status?: string;
|
||||
}>();
|
||||
|
||||
const isStandalone = (): boolean => {
|
||||
if (typeof window === 'undefined') return false;
|
||||
|
||||
return window.matchMedia('(display-mode: standalone)').matches
|
||||
|| (window.navigator as any).standalone === true;
|
||||
};
|
||||
|
||||
const form = useForm({
|
||||
email: '',
|
||||
password: '',
|
||||
remember: false,
|
||||
remember: isStandalone(),
|
||||
});
|
||||
|
||||
const submit = () => {
|
||||
|
||||
Reference in New Issue
Block a user