1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-22 22:59:41 +02:00

fix: #2169 webhooks not firing (#2178)

* fix webhooks not firing due to missing session

* disable webhook test button because it doesnt do anything

* fix background task administration not working at all

* fix error in test
This commit is contained in:
Sören 2023-02-26 20:27:22 +01:00 committed by GitHub
parent da791ec9c5
commit 84d55eb920
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 44 additions and 33 deletions

View file

@ -18,6 +18,8 @@
icon: $globals.icons.testTube,
text: $tc('general.test'),
event: 'test',
// TODO: There is no functionality hooked up to this. Enable it when there is
disabled: true,
},
{
icon: $globals.icons.save,

View file

@ -25,7 +25,7 @@
content-class="text-caption"
>
<template #activator="{ on, attrs }">
<v-btn tile :large="large" icon v-bind="attrs" @click="$emit(btn.event)" v-on="on">
<v-btn tile :large="large" icon v-bind="attrs" @click="$emit(btn.event)" v-on="on" :disabled="btn.disabled">
<v-icon> {{ btn.icon }} </v-icon>
</v-btn>
</template>
@ -43,6 +43,7 @@ export interface ButtonOption {
text: string;
event: string;
children?: ButtonOption[];
disabled?: boolean;
}
export default defineComponent({