Feature: add auto open share modal config for global. (#474)

* feat(admin): add auto open share modal config for global.

* feat(upload): Apply the flag that disables the automatic open create share modal.

* fix: remove migration and add new config variable to seed script

* chore(translations): improve auto open share modal description

* refactor: run formatter

---------

Co-authored-by: Elias Schneider <login@eliasschneider.com>
This commit is contained in:
Ivan Li
2024-06-10 17:32:52 +08:00
committed by GitHub
parent 1c7832ad1f
commit 4fd29037a0
10 changed files with 1652 additions and 18 deletions

View File

@@ -20,9 +20,8 @@ export class CreateShareGuard extends JwtGuard {
if (!reverseShareTokenId) return false;
const isReverseShareTokenValid = await this.reverseShareService.isValid(
reverseShareTokenId,
);
const isReverseShareTokenValid =
await this.reverseShareService.isValid(reverseShareTokenId);
return isReverseShareTokenValid;
}