mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
string de draft id bug solved
This commit is contained in:
@@ -124,7 +124,7 @@ export class DespachoPrPage implements OnInit {
|
||||
}
|
||||
this.fulltask = res;
|
||||
let stringDraft = res.workflowInstanceDataFields.DraftIds;
|
||||
let split_stringDraft = stringDraft?.split(",");
|
||||
let split_stringDraft = stringDraft?.split(";");
|
||||
|
||||
try {
|
||||
this.getDraft(split_stringDraft);
|
||||
|
||||
@@ -111,7 +111,7 @@ export class DespachoPage implements OnInit {
|
||||
this.TaskService.loadDiplomas();
|
||||
let stringDraft = res.workflowInstanceDataFields.DraftIds;
|
||||
console.log('sring to array', stringDraft)
|
||||
let split_stringDraft = stringDraft?.split(",");
|
||||
let split_stringDraft = stringDraft?.split(";");
|
||||
|
||||
try {
|
||||
this.getDraft(split_stringDraft);
|
||||
|
||||
+1
-1
@@ -113,7 +113,7 @@ export class DiplomaAssinarPage implements OnInit {
|
||||
|
||||
this.fulltask = res;
|
||||
let stringDraft = res.workflowInstanceDataFields.DraftIds;
|
||||
let split_stringDraft = stringDraft?.split(",");
|
||||
let split_stringDraft = stringDraft?.split(";");
|
||||
|
||||
try {
|
||||
this.getDraft(split_stringDraft);
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
font-size: 18px !important;
|
||||
}
|
||||
.main-header{
|
||||
overflow: inherit;
|
||||
font-family: Roboto;
|
||||
border-top-left-radius: 25px;
|
||||
border-top-right-radius: 25px;
|
||||
|
||||
@@ -125,7 +125,7 @@ export class DiplomaPage implements OnInit {
|
||||
console.log('Diploma anexo',this.fulltask.Documents )
|
||||
// this.updateProcessOnDB(res)
|
||||
let stringDraft = res.workflowInstanceDataFields.DraftIds;
|
||||
let split_stringDraft = stringDraft?.split(",");
|
||||
let split_stringDraft = stringDraft?.split(";");
|
||||
|
||||
try {
|
||||
this.getDraft(split_stringDraft);
|
||||
|
||||
@@ -118,7 +118,7 @@ export class LoginPage implements OnInit {
|
||||
const loader = this.toastService.loading()
|
||||
|
||||
let attempt = await this.authService.login(this.userattempt, {saveSession: false})
|
||||
await this.authService.loginContenteProduction(this.userattempt, {saveSession: true})
|
||||
const data = await this.authService.loginContenteProduction(this.userattempt, {saveSession: true})
|
||||
|
||||
|
||||
loader.remove()
|
||||
@@ -127,6 +127,7 @@ export class LoginPage implements OnInit {
|
||||
if (attempt.UserId == SessionStore.user.UserId) {
|
||||
|
||||
await this.authService.SetSession(attempt, this.userattempt);
|
||||
CPSession.save(data)
|
||||
this.changeProfileService.run();
|
||||
|
||||
if(attempt.ChatData) {
|
||||
@@ -158,6 +159,7 @@ export class LoginPage implements OnInit {
|
||||
|
||||
await this.authService.SetSession(attempt, this.userattempt);
|
||||
this.changeProfileService.run();
|
||||
CPSession.save(data)
|
||||
|
||||
|
||||
if(attempt.ChatData) {
|
||||
|
||||
Reference in New Issue
Block a user