Show upstream version if available in the info dialog
This commit is contained in:
@@ -979,6 +979,9 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N
|
||||
if (error) return callback(error);
|
||||
if (status !== 200) return callback(new ClientError(status, data));
|
||||
|
||||
var tmp = data.manifest.description.match(/\<upstream\>(.*)\<\/upstream\>/i);
|
||||
data.upstreamVersion = (tmp && tmp[1]) ? tmp[1] : '';
|
||||
|
||||
callback(null, data);
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user