mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update ssdp handler
This commit is contained in:
parent
63147d64a7
commit
4cad3ad8b0
13 changed files with 80 additions and 143 deletions
|
@ -155,7 +155,6 @@ define(['appStorage', 'browser'], function (appStorage, browser) {
|
|||
return features;
|
||||
}();
|
||||
|
||||
|
||||
var appInfo;
|
||||
var version = window.dashboardVersion || '3.0';
|
||||
|
||||
|
|
|
@ -98,6 +98,11 @@
|
|||
|
||||
var commands = [];
|
||||
|
||||
commands.push({
|
||||
name: globalize.translate('ButtonRemoteControl'),
|
||||
id: 'remotecontrol'
|
||||
});
|
||||
|
||||
// manage server, metadata manager, reports, sync to other devices
|
||||
if (currentUser.Policy.IsAdministrator) {
|
||||
commands.push({
|
||||
|
@ -118,11 +123,6 @@
|
|||
});
|
||||
}
|
||||
|
||||
commands.push({
|
||||
name: globalize.translate('ButtonRemoteControl'),
|
||||
id: 'remotecontrol'
|
||||
});
|
||||
|
||||
if (Dashboard.isConnectMode()) {
|
||||
commands.push({
|
||||
name: globalize.translate('HeaderSelectServer'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue