Skip to content

Commit

Permalink
### 3.0.109-rc.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele Panico committed Feb 1, 2024
1 parent 52b46ed commit adbdabf
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# chat21-ionic ver 3.0

### 3.0.109-rc.1
- added: BASE_LOGO_GRAY resource key
- bug-fixed: body texarea into email modal has 0px height

### 3.0.108 in PROD

### 3.0.108.rc.1
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@chat21/chat21-ionic",
"author": "Tiledesk SRL",
"version": "3.0.108",
"version": "3.0.109-rc.1",
"license": "MIT License",
"homepage": "https://tiledesk.com/",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/authentication/login/login.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class LoginPage implements OnInit {
/** */
initialize() {
this.companyLogoBlackUrl = LOGOS_ITEMS['BASE_LOGO'].icon;
this.companyName = BRAND_BASE_INFO['COMPANY_NAME']; // this.chatManager.getTenant();
this.companyName = BRAND_BASE_INFO['BRAND_NAME']; // this.chatManager.getTenant();
this.companySiteUrl = BRAND_BASE_INFO['COMPANY_SITE_URL']
this.translations();
this.events.subscribe('sign-in', this.signIn);
Expand Down
1 change: 1 addition & 0 deletions src/app/services/brand/brand.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export class BrandService {
BASE_LOGO_WHITE: "assets/logos/tiledesk-logo_new_white.svg",
BASE_LOGO_WHITE_NO_TEXT:"",
COMPANY_NAME: "Tiledesk",
BRAND_NAME: "Tiledesk",
COMPANY_SITE_NAME:"tiledesk.com",
COMPANY_SITE_URL:"https://www.tiledesk.com",
CONTACT_US_EMAIL: "[email protected]",
Expand Down
4 changes: 2 additions & 2 deletions src/app/utils/BrandResources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ export class BrandResources {
}

/** META TITLE and FAVICON */
document.title = this.brand['COMPANY_NAME'] + ' ' + this.brand['META_TITLE']
document.title = this.brand['BRAND_NAME'] + ' ' + this.brand['META_TITLE']
var icon = document.querySelector("link[rel~='icon']") as HTMLElement;
icon.setAttribute('href', this.brand['FAVICON_URL'])

/** CSS */
document.body.style.setProperty('--base-brand-color', this.brand['BRAND_COLOR']);

/** LOGOS_ITEMS */
Object.keys(LOGOS_ITEMS).forEach(key => { LOGOS_ITEMS[key].icon = this.brand[key]; LOGOS_ITEMS[key].label = this.brand['COMPANY_NAME']})
Object.keys(LOGOS_ITEMS).forEach(key => { LOGOS_ITEMS[key].icon = this.brand[key]; LOGOS_ITEMS[key].label = this.brand['BRAND_NAME']})

/** BRAND_BASE_INFO */
Object.keys(BRAND_BASE_INFO).forEach(key => BRAND_BASE_INFO[key] = this.brand[key])
Expand Down
1 change: 1 addition & 0 deletions src/app/utils/utils-resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const LOGOS_ITEMS: { [key: string] : { label: string, icon: string }} ={

export const BRAND_BASE_INFO: { [key: string] : any} ={
COMPANY_NAME: "Tiledesk",
BRAND_NAME: "Tiledesk",
COMPANY_SITE_NAME:"tiledesk.com",
COMPANY_SITE_URL:"https://www.tiledesk.com",
CONTACT_US_EMAIL: "[email protected]",
Expand Down

0 comments on commit adbdabf

Please sign in to comment.