Commit d125f6cc authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FIX #16982 TIME 0:05 workflow medel: wording message if external users

parent 37f0d218
......@@ -38,9 +38,10 @@ export class VisaWorkflowService {
}
async createModel(currentWorkflow: any[]) {
const checkExternalUsers: number = currentWorkflow.filter((user: any) => user.userId === null).length;
const alert = await this.alertController.create({
header: this.translate.instant('lang.newTemplate'),
message: this.translate.instant('lang.newTemplateDesc'),
message: this.translate.instant(checkExternalUsers === 0 ? 'lang.newTemplateDesc' : 'lang.newTemplateDescWithOtp'),
inputs: [
{
name: 'title',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment