We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
withastro
Learn more about funding links in repositories.
Report abuse
Disable notifications
1 parent 895ebcb commit 0bb3d53Copy full SHA for 0bb3d53
.changeset/strange-parrots-promise.md
@@ -0,0 +1,5 @@
1
+---
2
+'astro': patch
3
4
+
5
+Fixed the log message to correctly display 'enabled' and 'disabled' when toggling 'Disable notifications' in the Toolbar.
packages/astro/src/runtime/client/dev-overlay/plugins/settings.ts
@@ -25,7 +25,7 @@ const settingsRows = [
25
}
26
27
settings.updateSetting('disablePluginNotification', evt.currentTarget.checked);
28
- const action = evt.currentTarget.checked ? 'enabled' : 'disabled';
+ const action = evt.currentTarget.checked ? 'disabled' : 'enabled';
29
settings.log(`Plugin notification badges ${action}`);
30
31
},
0 commit comments