last tweak

This commit is contained in:
tidusjar 2021-01-03 21:43:53 +00:00
commit b888a51b5b
2 changed files with 3 additions and 2 deletions

View file

@ -71,7 +71,7 @@
</mat-form-field> </mat-form-field>
<small> <small>
<span *ngIf="server.serverHostname">Current URL: "{{server.serverHostname}}/#!/itemdetails.html?id=1"</span> <span *ngIf="server.serverHostname">Current URL: "{{server.serverHostname}}/#!/itemdetails.html?id=1"</span>
<span *ngIf="!server.serverHostname">Current URL: "https://app.jellyfin.media/#!/itemdetails.html?id=1</span> <span *ngIf="!server.serverHostname">Current URL: "{{server.ssl ? "https://" : "http://"}}{{server.ip}}:{{server.port}}/"</span>
</small> </small>
</div> </div>

View file

@ -15,6 +15,7 @@ export class JellyfinComponent implements OnInit {
public hasDiscoveredOrDirty: boolean; public hasDiscoveredOrDirty: boolean;
selected = new FormControl(0); selected = new FormControl(0);
constructor(private settingsService: SettingsService, constructor(private settingsService: SettingsService,
private notificationService: NotificationService, private notificationService: NotificationService,
private testerService: TesterService, private testerService: TesterService,