fix(widgets): add refetchInterval to WidgetDefinition for per-widget polling (#6352)
This commit is contained in:
1 parent
7887ce12c0
commit
7e4cb0201b
28 files changed
+47
-10
No files matched your search
@@ -7,6 +7,7 @@ import { optionsBuilder } from "../options";
|
||||
|
||||
export const { componentLoader, definition } = createWidgetDefinition("notifications", {
|
||||
icon: IconMessage,
|
||||
refetchInterval: null,
|
||||
createOptions() {
|
||||
return optionsBuilder.from((factory) => ({
|
||||
hideLogos: factory.switch({ defaultValue: false }),
|
||||
|
||||
Reference in new issue
Block a user