Browse Source

Merge branch 'main' of github.com:milvus-io/milvus-insight into dev

Gitea 3 years ago
parent
commit
45442c1a59
2 changed files with 2 additions and 2 deletions
  1. 1 1
      client/src/components/layout/Layout.tsx
  2. 1 1
      express/src/crons/crons.service.ts

+ 1 - 1
client/src/components/layout/Layout.tsx

@@ -100,7 +100,7 @@ const Layout = (props: any) => {
         icon: icons.navOverview,
         label: content.client?.label || 'PLGUIN',
       };
-      result.onClick = () => history.push(`${pathName}`);
+      result.onClick = () => history.push(`/${pathName}`);
       const iconName: IconsType = content.client?.iconName;
       const iconEntry = content.client?.icon;
       const dirName = key.split('/config.json').shift().split('/')[1];

+ 1 - 1
express/src/crons/crons.service.ts

@@ -83,7 +83,7 @@ export class SchedulerRegistry {
       target?.entity?.stop();
     } else {
       const task = schedule(scheduler, () => {
-        console.log(`${name}: running a task every seconds`);
+        console.log(`[Scheduler:${scheduler}] ${name}: running a task.`);
         func();
       });
       this.cronJobList.push({