This commit is contained in:
OVSharova 2021-12-12 01:09:16 +03:00
parent 517af51af2
commit 0a49fe5815
2 changed files with 3 additions and 1 deletions

View file

@ -787,6 +787,8 @@ define(function(){ 'use strict';
textHorizontal: 'Horizontal',
textIn: 'In',
textOut: 'Out',
textWedge: 'Wedge',
textFlip: 'Flip',
getEffectGroupData: function () {
return [

View file

@ -152,7 +152,7 @@ define([
fillEffect: function () {
var arr = _.where(this.allEffects, {group: this._state.activeGroup, level: this.activeLevel });
this.lstEffectList.store.reset(arr);
var item = (this._state.activeEffect)?this.lstEffectList.store.findWhere({value: this._state.activeEffect}):this.lstEffectList.store.at(0);
var item = (this._state.activeEffect != undefined)?this.lstEffectList.store.findWhere({value: this._state.activeEffect}):this.lstEffectList.store.at(0);
this.lstEffectList.selectRecord(item);
this._state.activeEffect = item.get('value');
},