mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
Fix log message for Disable notifications
(#9339)
* Fix log message for `Disable notifications` * Add changeset
This commit is contained in:
parent
895ebcb5bf
commit
0bb3d53221
2 changed files with 6 additions and 1 deletions
5
.changeset/strange-parrots-promise.md
Normal file
5
.changeset/strange-parrots-promise.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Fixed the log message to correctly display 'enabled' and 'disabled' when toggling 'Disable notifications' in the Toolbar.
|
|
@ -25,7 +25,7 @@ const settingsRows = [
|
|||
}
|
||||
|
||||
settings.updateSetting('disablePluginNotification', evt.currentTarget.checked);
|
||||
const action = evt.currentTarget.checked ? 'enabled' : 'disabled';
|
||||
const action = evt.currentTarget.checked ? 'disabled' : 'enabled';
|
||||
settings.log(`Plugin notification badges ${action}`);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue