fix: Embed - Do not reuse the modal on reopening it. (#17171)
* chore: increase pagination managed users endpoint (#17147) * Dont reuse the existing modal --------- Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com>
This commit is contained in:
1 parent
d73d0ebb6e
commit
05c1ad885b
1 file changed
+4
-1
@@ -690,7 +690,10 @@ class CalApi {
|
||||
if (__prerender) {
|
||||
this.preloadedModalUid = uid;
|
||||
} else {
|
||||
this.modalUid = uid;
|
||||
// Intentionally not setting it to have the behaviour of reusing the same modal. Because it causes outdated content that might not be valid based on
|
||||
// 1. The time difference b/w reopening(availability getting changed in b/w)
|
||||
// 2. User using different query params but they not being used because of the same modal being reused. Happens in case of headless router being opened in embed
|
||||
// this.modalUid = uid;
|
||||
}
|
||||
|
||||
if (typeof config.iframeAttrs === "string" || config.iframeAttrs instanceof Array) {
|
||||
|
||||
Reference in new issue
Block a user