Commit 4e3f8ae0fc785b14edc61a96f21b2ceb9c67d10e

Authored by Myriam Bouchemit
1 parent b510b648

passage epntap v2 apis dataset_id-Sgranule_gid et preview_url->thumbnail_url

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
js/app/views/APISImagesUI.js
... ... @@ -18,7 +18,7 @@ Ext.define('amdaUI.APISImagesUI', {
18 18  
19 19 getPreviewUrl : function(image)
20 20 {
21   - return image.get('preview_url');
  21 + return image.get('thumbnail_url');
22 22 },
23 23  
24 24 getImageLink : function(image)
... ... @@ -123,7 +123,7 @@ Ext.define('amdaUI.APISImagesUI', {
123 123 stop : image.time_max,
124 124 exposure : image.time_exp_max,
125 125 instrument : image.instrument_name,
126   - preview_url : image.preview_url,
  126 + thumbnail_url : image.thumbnail_url,
127 127 fits_url : image.native_access_url,
128 128 image_url : image.access_url,
129 129 additional_text : additional_text
... ... @@ -176,4 +176,4 @@ Ext.define('amdaUI.APISImagesUI', {
176 176  
177 177 AmdaAction.getAPISImagesUrl(obj,this.onFinishGetImages,this);
178 178 }
179   -});
180 179 \ No newline at end of file
  180 +});
... ...