mirror of
https://github.com/jpros/tacticalrmm-web.git
synced 2026-02-27 06:41:39 +00:00
fix some prop errors in addautomatedtask and fix display of assigned checks and tasks in policy check/task tabs
This commit is contained in:
@@ -252,6 +252,7 @@ export default {
|
||||
const loading = ref(false);
|
||||
|
||||
async function submit() {
|
||||
console.log(task.value);
|
||||
if (!step1Done.value || !step2Done.value) {
|
||||
notifyError("Some steps are incomplete");
|
||||
return;
|
||||
@@ -289,7 +290,7 @@ export default {
|
||||
const step1Done = computed(() => {
|
||||
return (
|
||||
(!!script.value && !!task.value.name && !!defaultTimeout.value && !collector.value) ||
|
||||
(!!script.value && !!task.value.name && !!defaultTimeout.value && collector.value && task.value.custom_field)
|
||||
(!!script.value && !!task.value.name && !!defaultTimeout.value && collector.value && !!task.value.custom_field)
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user