mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-06 21:57:48 +01:00
Rename unifi_console info widget to unifi
This commit is contained in:
@@ -9,7 +9,7 @@ export default function Widget({ options }) {
|
||||
const { t } = useTranslation();
|
||||
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
options.type = "unifi_console";
|
||||
options.type = "unifi";
|
||||
const { data: statsData, error: statsError } = useWidgetAPI(options, "stat/sites");
|
||||
|
||||
if (statsError || statsData?.error) {
|
||||
@@ -10,7 +10,7 @@ const widgetMappings = {
|
||||
greeting: dynamic(() => import("components/widgets/greeting/greeting")),
|
||||
datetime: dynamic(() => import("components/widgets/datetime/datetime")),
|
||||
logo: dynamic(() => import("components/widgets/logo/logo"), { ssr: false }),
|
||||
unifi_console: dynamic(() => import("components/widgets/unifi_console/unifi_console")),
|
||||
unifi: dynamic(() => import("components/widgets/unifi/unifi")),
|
||||
};
|
||||
|
||||
export default function Widget({ widget }) {
|
||||
|
||||
Reference in New Issue
Block a user