changed the button behaviour from swiching 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-19 23:47:16 +03:00
parent 90634b52b2
commit 1c65e508bc

View file

@ -216,7 +216,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