mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-03-10 04:03:37 +00:00
feat: improve small screens views
also fix case when invalid repository id has been sent
This commit is contained in:
@@ -131,10 +131,10 @@
|
||||
return {patches: patches};
|
||||
}
|
||||
|
||||
function packagesAdd(packages, patches) {
|
||||
function packagesAdd(packages, patches, repository) {
|
||||
packages = packages ?? packageAddInput.val();
|
||||
patches = patches ?? patchesParse();
|
||||
const repository = getRepositorySelector(packageAddRepositoryInput);
|
||||
repository = repository ?? getRepositorySelector(packageAddRepositoryInput);
|
||||
|
||||
if (packages) {
|
||||
packageAddModal.modal("hide");
|
||||
|
||||
Reference in New Issue
Block a user