瀏覽代碼

Use original id instead of values to prevent undefined

jnfrati 4 年之前
父節點
當前提交
a1e1116527
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      dashboard/src/main/home/project-settings/InviteList.tsx

+ 1 - 1
dashboard/src/main/home/project-settings/InviteList.tsx

@@ -252,7 +252,7 @@ const InvitePage: React.FunctionComponent<Props> = ({}) => {
                 onClick={() =>
                   replaceInvite(
                     row.values.email,
-                    row.values.id,
+                    row.original.id,
                     row.values.kind
                   )
                 }