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:
+1
-5
@@ -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" />
|
||||
),
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user