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
@@ -6,6 +6,8 @@ import { optionsBuilder } from "../../options";
|
||||
|
||||
export const { componentLoader, definition } = createWidgetDefinition("minecraftServerStatus", {
|
||||
icon: IconBrandMinecraft,
|
||||
queryKey: [["widget", "minecraft"]],
|
||||
refetchInterval: null,
|
||||
createOptions() {
|
||||
return optionsBuilder.from((factory) => ({
|
||||
title: factory.text({ defaultValue: "" }),
|
||||
|
||||
Reference in new issue
Block a user