File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 9191 (candidate_key ) =>
9292 ! allowed_objects_list .some (
9393 (allowed_object_map ) =>
94- ! Object .prototype .hasOwnProperty .call (allowed_object_map, candidate_key),
94+ ! Object .prototype .hasOwnProperty .call (
95+ allowed_object_map,
96+ candidate_key,
97+ ),
9598 ),
9699 )
97100 const final_object = {}
101104 )
102105 const priority_list = allowed_objects_list
103106 .map ((allowed_object_map ) => allowed_object_map[key].object_priority )
104- .filter ((priority_value ) => priority_value !== undefined && priority_value !== null )
107+ .filter (
108+ (priority_value ) =>
109+ priority_value !== undefined && priority_value !== null ,
110+ )
105111 final_object[key] = { is_loadable: Math .min (... load_score_list) }
106112 if (priority_list .length ) {
107113 final_object[key].object_priority = Math .max (... priority_list)
130136 const best_priority_objects = best_score_objects .filter (
131137 (k ) => final_object[k].object_priority === highest_priority,
132138 )
133- if (highest_priority !== - Infinity && best_priority_objects .length === 1 ) {
139+ if (
140+ highest_priority !== - Infinity &&
141+ best_priority_objects .length === 1
142+ ) {
134143 set_geode_object (best_priority_objects[0 ])
135144 already_selected = true
136145 }
143152 toggle_loading ()
144153 }
145154
146-
147155 function set_geode_object (input_geode_object ) {
148156 if (input_geode_object != " " ) {
149157 emit (" update_values" , { input_geode_object })
You can’t perform that action at this time.
0 commit comments