Merge pull request #5995 from jwaresoft/5968-create-library-modal-disappears-no-library

Fix create library crashing when no path specified
This commit is contained in:
Bill Thornton
2024-09-03 09:42:26 -04:00
committed by GitHub
@@ -25,6 +25,8 @@ import alert from '../alert';
import template from './mediaLibraryCreator.template.html';
function onAddLibrary(e) {
e.preventDefault();
if (isCreating) {
return false;
}
@@ -61,7 +63,6 @@ function onAddLibrary(e) {
isCreating = false;
loading.hide();
});
e.preventDefault();
}
function getCollectionTypeOptionsHtml(collectionTypeOptions) {