Fixed wrong instances list appearing
This commit is contained in:
parent
7547533a67
commit
8a509cbfbc
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "__MSG_extensionName__",
|
||||
"description": "__MSG_extensionDescription__",
|
||||
"version": "2.7.1",
|
||||
"version": "2.8.0",
|
||||
"manifest_version": 2,
|
||||
"browser_specific_settings": {
|
||||
"gecko": {
|
||||
|
|
|
@ -36,7 +36,7 @@ async function changeFrontendsSettings(service) {
|
|||
if (
|
||||
frontend == divs[service].frontend.value
|
||||
||
|
||||
(!config.services[service].frontends[divs[service].frontend.value].embeddable && divs[service].embedFrontend && frontend == divs[service].embedFrontend.value)
|
||||
(config.services[service].frontends[divs[service].frontend.value].desktopApp && divs[service].embedFrontend && frontend == divs[service].embedFrontend.value)
|
||||
) {
|
||||
frontendDiv.style.display = ""
|
||||
if (config.services[service].frontends[frontend].localhost === true) {
|
||||
|
@ -82,8 +82,10 @@ async function changeFrontendsSettings(service) {
|
|||
document.getElementById(`${service}-redirectType`).value = options[service].redirectType
|
||||
if (config.services[service].frontends[frontend].desktopApp && options[service].redirectType != "main_frame") {
|
||||
document.getElementById(`${service}-embedFrontend-div`).style.display = ''
|
||||
document.getElementById(divs[service].embedFrontend.value).style.display = ''
|
||||
} else {
|
||||
document.getElementById(`${service}-embedFrontend-div`).style.display = 'none'
|
||||
document.getElementById(divs[service].embedFrontend.value).style.display = 'none'
|
||||
}
|
||||
}
|
||||
const frontend_name_element = document.getElementById(`${service}_page`).getElementsByClassName("frontend_name")[0]
|
||||
|
|
Loading…
Reference in New Issue