mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 15:49:42 +02:00
Improve ingredient sections behavior (#1233)
This commit is contained in:
parent
4fe19b88ca
commit
3125730702
1 changed files with 2 additions and 5 deletions
|
@ -163,13 +163,10 @@ export default defineComponent({
|
|||
});
|
||||
|
||||
function toggleTitle() {
|
||||
if (value.title) {
|
||||
state.showTitle = false;
|
||||
if (state.showTitle) {
|
||||
value.title = "";
|
||||
} else {
|
||||
state.showTitle = true;
|
||||
value.title = "Section Title";
|
||||
}
|
||||
state.showTitle = !state.showTitle
|
||||
}
|
||||
|
||||
function toggleOriginalText() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue