Skip to content

Commit 784e7a9

Browse files
committed
Merge branch 'release/1.0.1'
2 parents a245e4e + 1a44c3e commit 784e7a9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-admin-lte",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"keywords": [
55
"angular",
66
"angular 4",

src/color/color.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class ColorService {
4141
this.renderer2.setStyle(this.elementRef.nativeElement, property, colors[color]);
4242
} else {
4343
this.renderer2.removeClass(this.elementRef.nativeElement, 'bg-color');
44-
if(color.startsWith('#') || color.startsWith('rgb')) {
44+
if(color.indexOf('#') === 0 || color.indexOf('rgb') === 0) {
4545
this.currentBackgroundStyle = {property: property, color: color};
4646
this.renderer2.setStyle(this.elementRef.nativeElement, property, color);
4747
} else if(colorsAliases.indexOf(color) !== -1) {

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-admin-lte",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/mika-el/angular-admin-lte"

0 commit comments

Comments
 (0)