Update plugins/entity-feedback/src/components/FeedbackResponseTable/FeedbackResponseTable.tsx

Co-authored-by: Phil Kuang <phillip.kuang@gmail.com>
Signed-off-by: drodil <heiccih@gmail.com>
This commit is contained in:
drodil
2023-06-16 08:06:41 +03:00
committed by Heikki Hellgren
parent 5c0f095c76
commit 7779e7702e
@@ -14,7 +14,6 @@
* limitations under the License.
*/
import { parseEntityRef } from '@backstage/catalog-model';
import { ErrorPanel, Table } from '@backstage/core-components';
import { useApi } from '@backstage/core-plugin-api';
import { EntityRefLink } from '@backstage/plugin-catalog-react';
@@ -66,10 +65,7 @@ export const FeedbackResponseTable = (props: FeedbackResponseTableProps) => {
field: 'userRef',
width: '15%',
render: (response: ResponseRow) => (
<EntityRefLink
entityRef={parseEntityRef(response.userRef, { defaultKind: 'user' })}
defaultKind="user"
/>
<EntityRefLink entityRef={response.userRef} defaultKind="user" />
),
},
{