Merge branch 'preview' of github.com:makeplane/plane into develop

This commit is contained in:
sriram veeraghanta 2024-04-16 15:49:22 +05:30
commit 01f7328714
4 changed files with 6 additions and 6 deletions

View File

@ -746,7 +746,7 @@ class CycleIssueAPIEndpoint(WebhookMixin, BaseAPIView):
class TransferCycleIssueAPIEndpoint(BaseAPIView): class TransferCycleIssueAPIEndpoint(BaseAPIView):
""" """
This viewset provides `create` actions for transfering the issues into a particular cycle. This viewset provides `create` actions for transferring the issues into a particular cycle.
""" """

View File

@ -35,7 +35,7 @@ export const OAuthOptions: React.FC<Props> = observer((props) => {
const response = await authService.socialAuth(socialAuthPayload); const response = await authService.socialAuth(socialAuthPayload);
if (response) handleSignInRedirection(); if (response) handleSignInRedirection();
} else throw Error("Cant find credentials"); } else throw Error("Can't find credentials");
} catch (err: any) { } catch (err: any) {
setToastAlert({ setToastAlert({
title: "Error signing in!", title: "Error signing in!",
@ -56,7 +56,7 @@ export const OAuthOptions: React.FC<Props> = observer((props) => {
const response = await authService.socialAuth(socialAuthPayload); const response = await authService.socialAuth(socialAuthPayload);
if (response) handleSignInRedirection(); if (response) handleSignInRedirection();
} else throw Error("Cant find credentials"); } else throw Error("Can't find credentials");
} catch (err: any) { } catch (err: any) {
setToastAlert({ setToastAlert({
title: "Error signing in!", title: "Error signing in!",

View File

@ -36,7 +36,7 @@ export const OAuthOptions: React.FC<Props> = observer((props) => {
const response = await authService.socialAuth(socialAuthPayload); const response = await authService.socialAuth(socialAuthPayload);
if (response) handleSignInRedirection(); if (response) handleSignInRedirection();
} else throw Error("Cant find credentials"); } else throw Error("Can't find credentials");
} catch (err: any) { } catch (err: any) {
setToast({ setToast({
type: TOAST_TYPE.ERROR, type: TOAST_TYPE.ERROR,
@ -57,7 +57,7 @@ export const OAuthOptions: React.FC<Props> = observer((props) => {
const response = await authService.socialAuth(socialAuthPayload); const response = await authService.socialAuth(socialAuthPayload);
if (response) handleSignInRedirection(); if (response) handleSignInRedirection();
} else throw Error("Cant find credentials"); } else throw Error("Can't find credentials");
} catch (err: any) { } catch (err: any) {
setToast({ setToast({
type: TOAST_TYPE.ERROR, type: TOAST_TYPE.ERROR,

View File

@ -24,7 +24,7 @@ const RenderIfVisible: React.FC<Props> = (props) => {
as = "div", as = "div",
children, children,
classNames = "", classNames = "",
alwaysRender = false, //render the children even if it is not visble in root alwaysRender = false, //render the children even if it is not visible in root
placeholderChildren = null, //placeholder children placeholderChildren = null, //placeholder children
pauseHeightUpdateWhileRendering = false, //while this is true the height of the blocks are maintained pauseHeightUpdateWhileRendering = false, //while this is true the height of the blocks are maintained
changingReference, //This is to force render when this reference is changed changingReference, //This is to force render when this reference is changed