Update enterprise_edition_left_panel.tsx
Fix handle click `+Add Seats` button to ensure checks for expansion availability look at service settings OR expansion availability are
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
183e3c6033
Коммит
ecbdd91787
@@ -100,7 +100,7 @@ const EnterpriseEditionLeftPanel = ({
|
|||||||
);
|
);
|
||||||
|
|
||||||
const handleClickAddSeats = () => {
|
const handleClickAddSeats = () => {
|
||||||
if (!isSelfHostedExpansionEnabled && !canExpand) {
|
if (!isSelfHostedExpansionEnabled || !canExpand) {
|
||||||
window.open(expandableLink(unsanitizedLicense.Id), '_blank');
|
window.open(expandableLink(unsanitizedLicense.Id), '_blank');
|
||||||
} else {
|
} else {
|
||||||
selfHostedExpansionModal.open();
|
selfHostedExpansionModal.open();
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user