Fix NotFoundKeysTest issue (Removed usage of SendInvitesAgain and ImportPeople keys)
This commit is contained in:
parent
066da1dfd0
commit
91943124ac
@ -32,18 +32,6 @@ class ArticleMainButtonContent extends React.Component {
|
||||
};
|
||||
}
|
||||
|
||||
onImportClick = () => {
|
||||
const { history, homepage } = this.props;
|
||||
history.push(
|
||||
combineUrl(
|
||||
window.DocSpaceConfig?.proxy?.url,
|
||||
homepage,
|
||||
"${homepage}/import"
|
||||
)
|
||||
);
|
||||
if (isMobile || isMobileUtils()) this.props.toggleShowText();
|
||||
};
|
||||
|
||||
goToEmployeeCreate = () => {
|
||||
const { history, homepage } = this.props;
|
||||
history.push(
|
||||
@ -68,10 +56,6 @@ class ArticleMainButtonContent extends React.Component {
|
||||
// if (isMobile || isMobileUtils()) this.props.toggleShowText();
|
||||
// };
|
||||
|
||||
onNotImplementedClick = (text) => {
|
||||
toastr.success(text);
|
||||
};
|
||||
|
||||
onInvitationDialogClick = () =>
|
||||
this.setState({ dialogVisible: !this.state.dialogVisible });
|
||||
|
||||
@ -139,23 +123,6 @@ class ArticleMainButtonContent extends React.Component {
|
||||
label: t("PeopleTranslations:InviteLinkTitle"),
|
||||
onClick: this.onInvitationDialogClick,
|
||||
},
|
||||
/* {
|
||||
icon: combineUrl(
|
||||
window.DocSpaceConfig?.proxy?.url,
|
||||
PlaneReactSvgUrl
|
||||
),
|
||||
label: t("SendInvitesAgain"),
|
||||
onClick: this.onNotImplementedClick.bind(this, t("SendInvitesAgain")),
|
||||
},
|
||||
separator,
|
||||
{
|
||||
icon: combineUrl(
|
||||
window.DocSpaceConfig?.proxy?.url,
|
||||
ImportReactSvgUrl
|
||||
),
|
||||
label: t("ImportPeople"),
|
||||
onClick: this.onImportClick,
|
||||
}, */
|
||||
];
|
||||
|
||||
return isAdmin ? (
|
||||
|
Loading…
Reference in New Issue
Block a user