mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2025-12-30 21:49:11 -05:00
fix: titlecard now have a proper behaviour even if the image is empty and applied prettier to migration file
This commit is contained in:
@@ -40,7 +40,9 @@ export class AddMusicSupport1714310036946 implements MigrationInterface {
|
||||
);
|
||||
|
||||
await queryRunner.query(`DROP TABLE "watchlist"`);
|
||||
await queryRunner.query(`ALTER TABLE "temporary_watchlist" RENAME TO "watchlist"`);
|
||||
await queryRunner.query(
|
||||
`ALTER TABLE "temporary_watchlist" RENAME TO "watchlist"`
|
||||
);
|
||||
|
||||
await queryRunner.query(
|
||||
`CREATE INDEX "IDX_watchlist_mbid" ON "watchlist" ("mbId")`
|
||||
@@ -135,7 +137,9 @@ export class AddMusicSupport1714310036946 implements MigrationInterface {
|
||||
);
|
||||
|
||||
await queryRunner.query(`DROP TABLE "watchlist"`);
|
||||
await queryRunner.query(`ALTER TABLE "temporary_watchlist" RENAME TO "watchlist"`);
|
||||
await queryRunner.query(
|
||||
`ALTER TABLE "temporary_watchlist" RENAME TO "watchlist"`
|
||||
);
|
||||
|
||||
await queryRunner.query(`ALTER TABLE "user" DROP COLUMN "musicQuotaLimit"`);
|
||||
await queryRunner.query(`ALTER TABLE "user" DROP COLUMN "musicQuotaDays"`);
|
||||
|
||||
@@ -507,7 +507,7 @@ const TitleCard = ({
|
||||
|
||||
<Transition
|
||||
as={Fragment}
|
||||
show={!image || showDetail || showRequestModal}
|
||||
show={showDetail || showRequestModal}
|
||||
enter="transition-opacity"
|
||||
enterFrom="opacity-0"
|
||||
enterTo="opacity-100"
|
||||
|
||||
Reference in New Issue
Block a user