Skip to content

Do not process the same FileInfo twice - #20831

Merged
rullzer merged 1 commit into
masterfrom
fix/sidebar-fileinfo-change
May 7, 2020
Merged

Do not process the same FileInfo twice#20831
rullzer merged 1 commit into
masterfrom
fix/sidebar-fileinfo-change

Conversation

@skjnldsv

Copy link
Copy Markdown
Member

After #20771
Better fix, it seems to create some issues on some other browsers.
Do not trigger twice if the fileinfo changed is exactly the same.

Fix broken acceptance sharing tests

@skjnldsvskjnldsv self-assigned this May 5, 2020
@skjnldsvskjnldsv added 3. to review Waiting for reviews bug labels May 5, 2020
@skjnldsv
skjnldsvforce-pushed the fix/sidebar-fileinfo-change branch from ebce822 to 1b5072dCompareMay 5, 2020 18:02
@MorrisJobke
MorrisJobkeforce-pushed the fix/sidebar-fileinfo-change branch from 1b5072d to 5ce7b17CompareMay 6, 2020 19:31
@MorrisJobke

Copy link
Copy Markdown
Member

/compile amend /

@nextcloudnextcloud deleted a comment from skjnldsvMay 6, 2020
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
@npmbuildbot-nextcloud
npmbuildbot-nextcloudBotforce-pushed the fix/sidebar-fileinfo-change branch from 5ce7b17 to d37c5c3CompareMay 6, 2020 19:41
},
},

beforeMount() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

In theory, the beforeMount hook should not be used for data loading, because its not executed within SSR. To load data, the created hook should be used.

But it has no real implications here, just a tiny nitpick. ;-)

@rullzer
rullzer merged commit 35a506d into masterMay 7, 2020
@rullzer
rullzer deleted the fix/sidebar-fileinfo-change branch May 7, 2020 07:20
@MorrisJobkeMorrisJobke added this to the Nextcloud 20 milestone May 8, 2020
@MorrisJobke

Copy link
Copy Markdown
Member

/backport to stable19

@MorrisJobke

Copy link
Copy Markdown
Member

@rullzer@skjnldsv I guess this is fine for 19?

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@skjnldsv@MorrisJobke@go2sh@ChristophWurst@rullzer