Last analyzed acb8a69 23 days ago
Default analysis branch is
Currently analyzing run
Found Yoda conditions JS-0104
Bug risk
2 months ago7 months old
Expected literal to be on the right side of ===.
110						}
111					/>
112
113					{ 'posts' === attributes.ChooseType && (114						<TokenCategoriesSelect/>
115					)}
116
Expected literal to be on the right side of ===.
247				{ attributes.ShowCaption
248					&& ( <ToggleControl
249							label={ 
250								'posts' === attributes.ChooseType251									? __( 'Link titles', 'ekiline-collection' )
252									: __( 'Link images', 'ekiline-collection' )
253							}
Expected literal to be on the right side of !==.
183						/>
184					) }
185
186					{ 'none' !== attributes.FindBlock && (187						<ToggleControl
188							label={ __( 'Show post if there is no block', 'ekiline-collection' ) }
189							checked={ attributes.AllowMixed }
Expected literal to be on the right side of ===.
166						/>
167					) }
168
169					{ 'posts' === attributes.ChooseType && (170						<SelectControl
171							label={ __( 'Find a block in content', 'ekiline-collection' ) }
172							value={ attributes.FindBlock }
Expected literal to be on the right side of ===.
148						/>
149					) }
150
151					{ 'posts' === attributes.ChooseType && (152						<SelectControl
153							label={ __( 'Sort by', 'ekiline-collection' ) }
154							value={ attributes.SetOrderBy }