[WEB-2542] Fix: display filter and tooltip issues in list layout. (#5696)
* [WEB-2542] fix: list layout issues. * fix: issue type display filter not working. * fix: layout shift when hovered on bulkops checkbox. * fix: build errors. * fix: lint errors
This commit is contained in:
parent
22623fad33
commit
6942e491d0
10 changed files with 18 additions and 18 deletions
|
|
@ -408,6 +408,7 @@ export class ProjectStore implements IProjectStore {
|
|||
} catch (error) {
|
||||
console.log("Failed to delete project from project store");
|
||||
this.fetchProjects(workspaceSlug);
|
||||
throw error;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ import { TUserPermissions } from "@plane/types/src/enums";
|
|||
import { API_BASE_URL } from "@/helpers/common.helper";
|
||||
// local
|
||||
import { persistence } from "@/local-db/storage.sqlite";
|
||||
import { ENABLE_LOCAL_DB_CACHE } from "@/plane-web/constants/issues";
|
||||
import { EUserPermissions } from "@/plane-web/constants/user-permissions";
|
||||
// services
|
||||
import { AuthService } from "@/services/auth.service";
|
||||
|
|
@ -19,7 +20,6 @@ import { IAccountStore } from "@/store/user/account.store";
|
|||
import { ProfileStore, IUserProfileStore } from "@/store/user/profile.store";
|
||||
import { IUserPermissionStore, UserPermissionStore } from "./permissions.store";
|
||||
import { IUserSettingsStore, UserSettingsStore } from "./settings.store";
|
||||
import { ENABLE_LOCAL_DB_CACHE } from "@/plane-web/constants/issues";
|
||||
|
||||
type TUserErrorStatus = {
|
||||
status: string;
|
||||
|
|
|
|||
|
|
@ -81,11 +81,11 @@ export class ProfileStore implements IUserProfileStore {
|
|||
|
||||
// helper action
|
||||
mutateUserProfile = (data: Partial<TUserProfile>) => {
|
||||
if (!data) return
|
||||
if (!data) return;
|
||||
Object.entries(data).forEach(([key, value]) => {
|
||||
if (key in this.data) set(this.data, key, value);
|
||||
})
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
// actions
|
||||
/**
|
||||
|
|
@ -129,7 +129,7 @@ export class ProfileStore implements IUserProfileStore {
|
|||
}
|
||||
const userProfile = await this.userService.updateCurrentUserProfile(data);
|
||||
return userProfile;
|
||||
} catch (error) {
|
||||
} catch {
|
||||
if (currentUserProfileData) {
|
||||
this.mutateUserProfile(currentUserProfileData);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue