mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-22 22:00:18 +00:00
apt repositories: fix typo for getting the default unknown text
Could lead to a type error with classifyOrigin when there is a repository that doesn't have an InRelease file and cannot be detected as Debian/Proxmox origin from its URL. For me, it triggered with the element.io repository after changing to bookworm (which currently doesn't exist yet) and running apt update. Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
7a0bbba33a
commit
78be60a079
@ -697,7 +697,7 @@ Ext.define('Proxmox.node.APTRepositories', {
|
|||||||
repo.Path = file.path;
|
repo.Path = file.path;
|
||||||
repo.Index = n;
|
repo.Index = n;
|
||||||
if (infos[file.path] && infos[file.path][n]) {
|
if (infos[file.path] && infos[file.path][n]) {
|
||||||
repo.Origin = infos[file.path][n].origin || Proxmox.Utils.UnknownText;
|
repo.Origin = infos[file.path][n].origin || Proxmox.Utils.unknownText;
|
||||||
repo.warnings = infos[file.path][n].warnings || [];
|
repo.warnings = infos[file.path][n].warnings || [];
|
||||||
|
|
||||||
if (repo.Enabled) {
|
if (repo.Enabled) {
|
||||||
|
Loading…
Reference in New Issue
Block a user