mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-09 03:04:54 -04:00
Improve ingredient sections behavior (#1233)
This commit is contained in:
parent
4fe19b88ca
commit
3125730702
@ -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…
x
Reference in New Issue
Block a user