Commit 4db6f197 authored by Azat Alimov's avatar Azat Alimov
Browse files

bug fixed (now hasProperty returns both property name and value if found it);...

bug fixed (now hasProperty returns both property name and value if found it); action icons changed to material's
parent 84389f7a
Showing with 3 additions and 3 deletions
+3 -3
......@@ -655,7 +655,7 @@ export class ActionToggleFilterPanel extends Action {
}
export class ActionStar extends Action {
defaultValues = {
"icon": "star.fill",
"icon": "star",//star.fill
"binding": new Expression("dataItem.starred")//TODO
};
......@@ -693,7 +693,7 @@ export class ActionStar extends Action {
export class ActionShowStarred extends Action {
defaultValues = {
"icon": "star.fill",
"icon": "star", ///star.fill
"binding": new Expression("view.userState.showStarred"),//TODO
"opensView": true,
"activeColor": new Color("#ffdb00"),
......
......@@ -228,7 +228,7 @@ export class Item extends SchemaItem {
if (prop == propName) {
return true
}
let haystack = prop;
let haystack = this[prop];
if (typeof haystack == "string") {
if (haystack.toLowerCase().indexOf(propName.toLowerCase()) > -1) {
return true
......
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