Skip to content

Commit

Permalink
Merge pull request #395 from appwrite/fix-consistent-data-document-re…
Browse files Browse the repository at this point in the history
…l-creation

fix: data maintained in doc creation navigation
  • Loading branch information
TorstenDittmann authored Apr 12, 2023
2 parents c041d7e + a97708e commit be3d991
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@
let offset = 0;
onMount(async () => {
if (value) {
if (isRelationshipToMany(attribute)) {
relatedList = value as string[];
} else {
singleRel = value as string;
}
}
documentList = await getDocuments();
if (editing && $doc?.[attribute.key]) {
Expand Down

3 comments on commit be3d991

@vercel
Copy link

@vercel vercel bot commented on be3d991 Apr 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on be3d991 Apr 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on be3d991 Apr 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

console-cloud – ./

console-cloud.vercel.app
console-cloud-git-main-appwrite.vercel.app
console-cloud-appwrite.vercel.app

Please sign in to comment.