mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-17 01:56:27 +08:00
fix(editor): the switch button style set in the TOC does not effect
This commit is contained in:
@@ -64,7 +64,7 @@ export class ToggleSwitch extends LitElement {
|
||||
|
||||
override render() {
|
||||
return html`
|
||||
<label class=${this.on ? 'on' : ''}>
|
||||
<label class=${this.on ? 'subscribe' : ''}>
|
||||
<input
|
||||
type="checkbox"
|
||||
class="switch"
|
||||
|
||||
Reference in New Issue
Block a user