- Are you sure you want to move filename to Trash? You will be able to restore it later,
- but it will become private to you.
+
- Are you sure you want to move filename to Trash? You will be able to restore it later,
- but it will become private to you.
+
+
+
+
+
+
+
- Are you sure you want to move filename to Trash? You will be able to restore it later,
- but it will become private to you.
+
diff --git a/client/src/containers/Accounts/AccountsDataTable.js b/client/src/containers/Accounts/AccountsDataTable.js
index 31f586528..e5017a13a 100644
--- a/client/src/containers/Accounts/AccountsDataTable.js
+++ b/client/src/containers/Accounts/AccountsDataTable.js
@@ -9,6 +9,8 @@ import {
Classes,
Tooltip,
} from '@blueprintjs/core';
+import { useIntl } from 'react-intl';
+
import Icon from 'components/Icon';
import { compose } from 'utils';
import DialogConnect from 'connectors/Dialog.connector';
@@ -21,6 +23,8 @@ import withDashboardActions from 'containers/Dashboard/withDashboard';
import withAccountsActions from 'containers/Accounts/withAccountsActions';
import withAccounts from 'containers/Accounts/withAccounts';
+import { If } from 'components';
+
function AccountsDataTable({
// #withAccounts
@@ -36,8 +40,10 @@ function AccountsDataTable({
onSelectedRowsChange,
onDeleteAccount,
onInactiveAccount,
+ onActivateAccount,
}) {
const [initialMount, setInitialMount] = useState(false);
+ const { formatMessage } = useIntl();
useUpdateEffect(() => {
if (!accountsLoading) {
@@ -64,9 +70,16 @@ function AccountsDataTable({
text='New Account'
onClick={() => handleNewParentAccount(account)} />
-