mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
chore: Performance improvements on the TV Details page
This commit is contained in:
parent
6d6890d0dd
commit
43fe449e32
2 changed files with 30 additions and 0 deletions
18
src/Ombi/ClientApp/.prettierrc.js
Normal file
18
src/Ombi/ClientApp/.prettierrc.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
module.exports = {
|
||||
...require('@exclaimer/prettier-config'),
|
||||
overrides: [
|
||||
{
|
||||
files: ['*.yaml', '*.yml'],
|
||||
options: {
|
||||
tabWidth: 2,
|
||||
singleQuote: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
files: 'index.html',
|
||||
options: {
|
||||
parser: 'html',
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
|
@ -192,7 +192,13 @@
|
|||
</div>
|
||||
|
||||
<div class="col-12 col-md-10">
|
||||
@defer {
|
||||
<tv-request-grid id="requests-grid" [tvRequest]="tvRequest" [isAdmin]="isAdmin" [tv]="tv"></tv-request-grid>
|
||||
} @placeholder {
|
||||
<div class="loading-spinner">
|
||||
<mat-spinner [color]="'accent'"></mat-spinner>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-md-2">
|
||||
|
@ -210,11 +216,17 @@
|
|||
</mat-panel-title>
|
||||
</mat-expansion-panel-header>
|
||||
|
||||
@defer (on viewport) {
|
||||
<tv-requests-panel
|
||||
[tvRequest]="tvRequest"
|
||||
[isAdmin]="isAdmin"
|
||||
[manageOwnRequests]="manageOwnRequests"
|
||||
></tv-requests-panel>
|
||||
} @placeholder {
|
||||
<div class="loading-spinner">
|
||||
<mat-spinner [color]="'accent'"></mat-spinner>
|
||||
</div>
|
||||
}
|
||||
</mat-expansion-panel>
|
||||
</mat-accordion>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue