enhance: prevent accidental newsletter job start
This commit is contained in:
parent
fdbf9e7f0a
commit
7aa0db3684
4 changed files with 20 additions and 8 deletions
|
@ -124,7 +124,7 @@ export const useNewsletterPrintoutStore = defineStore("newsletterPrintout", {
|
|||
chunk.split("//").forEach((r) => {
|
||||
if (r.trim() != "") {
|
||||
let data = JSON.parse(r);
|
||||
this.pdfSourceMessages.push(data);
|
||||
this.pdfSourceMessages.unshift(data);
|
||||
let type: NotificationType = "info";
|
||||
let timeout = undefined;
|
||||
if (data.factor == "failed") {
|
||||
|
@ -146,7 +146,7 @@ export const useNewsletterPrintoutStore = defineStore("newsletterPrintout", {
|
|||
chunk.split("//").forEach((r) => {
|
||||
if (r.trim() != "") {
|
||||
let data = JSON.parse(r);
|
||||
this.mailSourceMessages.push(data);
|
||||
this.mailSourceMessages.unshift(data);
|
||||
let type: NotificationType = "info";
|
||||
let timeout = undefined;
|
||||
if (data.factor == "failed") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue