Fix after merge 'develop'
This commit is contained in:
parent
c346033713
commit
6d0dd00052
@ -12,6 +12,7 @@ import Header from "./Header";
|
||||
|
||||
import { TableViewProps } from "./TableView.types";
|
||||
import { TableWrapper } from "./TableView.styled";
|
||||
import { UserStore } from "@docspace/shared/store/UserStore";
|
||||
|
||||
const TABLE_VERSION = "1";
|
||||
const COLUMNS_SIZE = `oauthConfigColumnsSize_ver-${TABLE_VERSION}`;
|
||||
@ -139,8 +140,14 @@ const TableView = ({
|
||||
};
|
||||
|
||||
export default inject(
|
||||
({ auth, oauthStore }: { auth: any; oauthStore: OAuthStoreProps }) => {
|
||||
const { id: userId } = auth.userStore.user;
|
||||
({
|
||||
userStore,
|
||||
oauthStore,
|
||||
}: {
|
||||
userStore: UserStore;
|
||||
oauthStore: OAuthStoreProps;
|
||||
}) => {
|
||||
const userId = userStore.user?.id;
|
||||
|
||||
const {
|
||||
viewAs,
|
||||
|
@ -10,6 +10,7 @@ import Header from "./Header";
|
||||
|
||||
import { TableViewProps } from "./TableView.types";
|
||||
import { TableWrapper } from "./TableView.styled";
|
||||
import { UserStore } from "@docspace/shared/store/UserStore";
|
||||
|
||||
const TABLE_VERSION = "1";
|
||||
const COLUMNS_SIZE = `consentColumnsSize_ver-${TABLE_VERSION}`;
|
||||
@ -95,8 +96,14 @@ const TableView = ({
|
||||
};
|
||||
|
||||
export default inject(
|
||||
({ auth, oauthStore }: { auth: any; oauthStore: OAuthStoreProps }) => {
|
||||
const { id: userId } = auth.userStore.user;
|
||||
({
|
||||
userStore,
|
||||
oauthStore,
|
||||
}: {
|
||||
userStore: UserStore;
|
||||
oauthStore: OAuthStoreProps;
|
||||
}) => {
|
||||
const userId = userStore.user?.id;
|
||||
|
||||
const {
|
||||
viewAs,
|
||||
|
Loading…
Reference in New Issue
Block a user