mirror of
https://github.com/strapi/strapi.git
synced 2025-09-04 22:32:57 +00:00
fixed upgrade compo import role/LV
This commit is contained in:
parent
4284d9f025
commit
2c7cbef984
@ -20,7 +20,7 @@ import { useIntl } from 'react-intl';
|
|||||||
import { useHistory } from 'react-router';
|
import { useHistory } from 'react-router';
|
||||||
import RoleRow from './components/RoleRow';
|
import RoleRow from './components/RoleRow';
|
||||||
import EmptyRole from './components/EmptyRole';
|
import EmptyRole from './components/EmptyRole';
|
||||||
import UpgradePlanModal from '../../../../../components/UpgradePlanModal';
|
import UpgradePlanModal from '../../../../../components/UpgradePlanModal ';
|
||||||
import { useRolesList } from '../../../../../hooks';
|
import { useRolesList } from '../../../../../hooks';
|
||||||
|
|
||||||
const useSortedRoles = () => {
|
const useSortedRoles = () => {
|
||||||
@ -186,7 +186,7 @@ const RoleListPage = () => {
|
|||||||
</Table>
|
</Table>
|
||||||
{!rowCount && !isLoading && <EmptyRole />}
|
{!rowCount && !isLoading && <EmptyRole />}
|
||||||
</ContentLayout>
|
</ContentLayout>
|
||||||
<UpgradePlanModal isOpen={isModalOpen} onToggle={handleToggle} />
|
<UpgradePlanModal isOpen={isModalOpen} onClose={handleToggle} />
|
||||||
</Main>
|
</Main>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
@ -400,10 +400,6 @@ describe('<ListPage />', () => {
|
|||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c37 {
|
|
||||||
font-family: Lato;
|
|
||||||
}
|
|
||||||
|
|
||||||
<main
|
<main
|
||||||
aria-labelledby="title"
|
aria-labelledby="title"
|
||||||
class="c0"
|
class="c0"
|
||||||
@ -612,9 +608,6 @@ describe('<ListPage />', () => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
|
||||||
class="c37"
|
|
||||||
/>
|
|
||||||
</main>
|
</main>
|
||||||
`);
|
`);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user