fix: fields-relationship e2e tests

This commit is contained in:
Jacob Fletcher
2022-12-09 15:34:35 -05:00
parent cb0437fbca
commit c72f074b77
3 changed files with 15 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
@import '../../../../../../scss/styles.scss';
.single-value {
.relationship--single-value {
display: flex;
align-items: center;

View File

@@ -8,7 +8,7 @@ import { useAuth } from '../../../../../utilities/Auth';
import { Option } from '../../types';
import './index.scss';
const baseClass = 'single-value';
const baseClass = 'relationship--single-value';
export const SingleValue: React.FC<SingleValueProps<Option>> = (props) => {
const {
@@ -43,7 +43,9 @@ export const SingleValue: React.FC<SingleValueProps<Option>> = (props) => {
<div className={baseClass}>
<div className={`${baseClass}__label`}>
<SelectComponents.SingleValue {...props}>
{children}
<div className={`${baseClass}__text`}>
{children}
</div>
{relationTo && hasReadPermission && (
<Fragment>
<DocumentDrawerToggler