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

feat: support require_all property for cookbooks (#1130)

* add direction prop for icon position

* add support for require_all properties on cookbook

* update type annotations

* add and - or filter support

* update cookbook API

* generate types

* implement editor for additional options

* update version number
This commit is contained in:
Hayden 2022-04-03 16:32:58 -08:00 committed by GitHub
parent c988de1921
commit 10784b6e24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 129 additions and 13 deletions

View file

@ -1,6 +1,6 @@
<template>
<div class="text-center">
<v-menu top offset-y left open-on-hover>
<v-menu top offset-y :right="right" :left="!right" open-on-hover>
<template #activator="{ on, attrs }">
<v-btn :small="small" icon v-bind="attrs" v-on="on" @click.stop>
<v-icon :small="small"> {{ $globals.icons.help }} </v-icon>
@ -24,6 +24,10 @@ export default defineComponent({
type: Boolean,
default: false,
},
right: {
type: Boolean,
default: false,
},
},
});
</script>