@ -2349,15 +2349,6 @@
document.addEventListener('keydown', (e) => {
if (e.ctrlKey || e.metaKey) {
switch(e.key) {
case 's':
e.preventDefault();
const activeTab = document.querySelector('.tab-button[aria-selected="true"]').getAttribute('aria-controls');
if (activeTab === 'branches-panel') {
document.getElementById('save-branches-btn').click();
} else if (activeTab === 'policies-panel') {
document.getElementById('save-policies-btn').click();
}
break;
case 'o':
document.getElementById('import-config-btn').click();
@ -219,8 +219,8 @@ _valid_fs_type(const fs::path &path_,
{
if(not (str::startswith(path_,"/mnt") or
str::startswith(path_,"/media") or
str::startswith(path_,"/opt") or
str::startswith(path_,"/tmp") or
str::startswith(path_,"/srv")))
return false;