Browse Source

view=key => all

visuddhinanda 2 years ago
parent
commit
721a43a431
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dashboard/src/components/template/GroupSelect.tsx

+ 1 - 1
dashboard/src/components/template/GroupSelect.tsx

@@ -29,7 +29,7 @@ const Widget = ({
         mode: multiple ? "multiple" : undefined,
       }}
       request={async ({ keyWords }) => {
-        const url = `/v2/group?view=key&key=${keyWords}`;
+        const url = `/v2/group?view=all&search=${keyWords}`;
         console.log("group keyWord", url);
         const json = await get<IGroupListResponse>(url);
         const userList = json.data.rows.map((item) => {