testversand
This commit is contained in:
@@ -643,11 +643,6 @@ export async function loadList(section) {
|
||||
toast('Testversand: Ungültige ID', false);
|
||||
return;
|
||||
}
|
||||
const activeCheck = await apiAction('content.get', { method: 'GET', data: { id, section_id: section.id, active_only: 1 } }).catch(() => ({}));
|
||||
if (!activeCheck?.active_version_id && !activeCheck?.item?.active_version_id) {
|
||||
toast('Testversand nur mit aktiver Version möglich.', false);
|
||||
return;
|
||||
}
|
||||
if (window.AdminTestSend && typeof window.AdminTestSend.open === 'function') {
|
||||
window.AdminTestSend.open({ id, name: nm, section });
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user