Skip to content

Commit

Permalink
added zendesk addon enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
sharonmaybergtailor committed Jun 30, 2022
1 parent 3cadfd5 commit e6bbf12
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ This is completely unofficial and is not related to Zendesk in any way.

This project is licensed under the [MIT License](LICENSE.md).

##About Tailor Brands
## About Tailor Brands
[Check us out!](https://www.tailorbrands.com)
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
name: require('./package').name,

contentFor: function (type, config) {
if (type === 'head' && config.zendesk && config.zendesk.key) {
if (type === 'head' && config.zendesk && config.zendesk.enabled && config.zendesk.key) {
const srcPath = "https://static.zdassets.com/ekr/snippet.js?key=" + config.zendesk.key;
return `<script id="ze-snippet" src=${srcPath}></script>`;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-cli-zendesk",
"version": "1.0.3",
"version": "1.0.4",
"description": "An Ember CLI Addon to add support for Zendesk",
"keywords": [
"ember-addon",
Expand Down

0 comments on commit e6bbf12

Please sign in to comment.