Skip to content

Commit c7e6299

Browse files
1 parent 9da5920 commit c7e6299

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nicegui/elements/aggrid/aggrid.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default {
55
template: "<div></div>",
66
mounted() {
77
this.update_grid();
8-
8+
this.$el.setAttribute("data-ag-theme-mode", document.body.classList.contains("body--dark") ? "dark" : "light")
99
this.themeObserver = new MutationObserver(() =>
1010
this.$el.setAttribute("data-ag-theme-mode", document.body.classList.contains("body--dark") ? "dark" : "light")
1111
);

0 commit comments

Comments
 (0)