changed the button behaviour to calling the toggle function

for applying the setting to both settings page and the drop menu and saving it
This commit is contained in:
Onur Gümüş 2022-01-20 04:47:10 +03:00
parent ac354a07ab
commit 9bad210c0c

View file

@ -221,7 +221,7 @@
<transition name="wpfade">
<div class="usermenu-container" v-if="chrome.menuOpened">
<div class="usermenu-body">
<button class="usermenu-item" @click="chrome.hideUserInfo = !chrome.hideUserInfo">
<button class="usermenu-item" @click="toggleHideUserInfo()">
<div class="row nopadding">
<div class="col nopadding">
Show Personal Info