diff --git a/src/app/projects/projects.component.ts b/src/app/projects/projects.component.ts
index 2608b262274f..98dd2b9b1ff1 100755
--- a/src/app/projects/projects.component.ts
+++ b/src/app/projects/projects.component.ts
@@ -1,7 +1,7 @@
import { Component, OnInit, ElementRef, HostListener, OnDestroy, AfterContentInit } from '@angular/core';
import { ProjectService } from '../services/project.service';
import { Project } from '../models/project-model';
-import { Router } from '@angular/router';
+import { ActivatedRoute, Router } from '@angular/router';
import { AuthService } from '../core/auth.service';
import { isDevMode } from '@angular/core';
import { UsersService } from '../services/users.service';
@@ -80,6 +80,7 @@ export class ProjectsComponent implements OnInit, AfterContentInit, OnDestroy {
languageNotSupported: boolean = false
private unsubscribe$: Subject
= new Subject();
prjct_profile_name: string;
+ DISPLAY_PROJECT_ID: boolean = false;
constructor(
private projectService: ProjectService,
@@ -94,6 +95,7 @@ export class ProjectsComponent implements OnInit, AfterContentInit, OnDestroy {
public wsRequestsService: WsRequestsService,
private logger: LoggerService,
private translate: TranslateService,
+ public route: ActivatedRoute
) {
const brand = brandService.getBrand();
@@ -127,6 +129,7 @@ export class ProjectsComponent implements OnInit, AfterContentInit, OnDestroy {
// this.getStorageBucket();
this.getOSCODE();
this.listenHasDeleteUserProfileImage();
+ this.getRouteParams()
}
ngAfterContentInit(): void {
@@ -154,6 +157,18 @@ export class ProjectsComponent implements OnInit, AfterContentInit, OnDestroy {
this.unsubscribe$.complete();
}
+ getRouteParams() {
+ this.route.queryParams.subscribe((params) => {
+ this.logger.log('[PROJECTS] - GET ROUTE-PARAMS & APPID - params: ', params)
+ if (params.showid) {
+ this.logger.log('[PROJECTS] - GET ROUTE-PARAMS & APPID - params.nk: ', params.showid)
+ if (params.showid === 'y') {
+ this.DISPLAY_PROJECT_ID = true;
+ }
+ }
+ });
+ }
+
getLoggedUserAndCheckProfilePhoto() {
// console.log('window.opener.location ', window.opener.location )
From af10a9379f8090485f8cd253244ed90c9751b57e Mon Sep 17 00:00:00 2001
From: Nicola Lanzilotto
Date: Thu, 11 Apr 2024 07:55:19 +0200
Subject: [PATCH 2/3] Updates version
---
CHANGELOG.md | 3 +++
package-lock.json | 2 +-
package.json | 2 +-
3 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8a152feee583..bac9173dc244 100755
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,8 @@
# tiledesk-dashboard
+### 2.6.10-rc3
+- Adds the ability to view the project id on the "Your projects" page
+
### 2.6.10-rc2
- Adds the ability to profiling the plans via DB (Widget Unbranding and SMTP settings)
- Adds the ability to display/hide the "Community" and template categories menu items in the chatbots sidebar
diff --git a/package-lock.json b/package-lock.json
index 02b821857942..6f6c75130a43 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@tiledesk/tiledesk-dashboard",
- "version": "2.6.10-rc2",
+ "version": "2.6.10-rc3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/package.json b/package.json
index 5a85fb340d77..4c8453638e3f 100755
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@tiledesk/tiledesk-dashboard",
- "version": "2.6.10-rc2",
+ "version": "2.6.10-rc3",
"scripts": {
"ng": "ng",
"start": "ng serve --aot",
From 2760f1b6e2cb4492993ffd8209916b8367469746 Mon Sep 17 00:00:00 2001
From: Nicola Lanzilotto
Date: Tue, 16 Apr 2024 12:36:41 +0200
Subject: [PATCH 3/3] Updates version
---
CHANGELOG.md | 4 ++++
package-lock.json | 2 +-
package.json | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index fcde8de5d9a5..d3fb0a96778b 100755
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
# tiledesk-dashboard
+### 2.6.12-rc1
+- Adds the ability to manage the visibility of menu item chatbot and the home chatbot section via DB
+- Manages chatbot limit of zero
+
### 2.6.11
- Moves email ticketing features to "Custom" plan
- Adds the ability to manage the number of chatbots and the number of Knowledge Base contents via DB
diff --git a/package-lock.json b/package-lock.json
index 1a0b758ae511..24b131c4e4eb 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "@tiledesk/tiledesk-dashboard",
- "version": "2.6.11",
+ "version": "2.6.12-rc1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/package.json b/package.json
index ee34b198c034..1d77f78915cc 100755
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@tiledesk/tiledesk-dashboard",
- "version": "2.6.11",
+ "version": "2.6.12-rc1",
"scripts": {
"ng": "ng",
"start": "ng serve --aot",