Merge pull request #363 from Carifio24/place-hash
Fix issue with constellation-index place sharing
This commit is contained in:
Коммит
23e39b3cb8
|
@ -64,7 +64,7 @@ wwt.app.factory(
|
|||
function getPlaceById(id) {
|
||||
var deferred = $q.defer();
|
||||
|
||||
searchDataService.getData(all).then(function (d) {
|
||||
searchDataService.getData().then(function (d) {
|
||||
var constellationIndex = parseInt(id.split('.')[0]);
|
||||
var placeIndex = parseInt(id.split('.')[1]);
|
||||
var p = d.Constellations[constellationIndex].places[placeIndex];
|
||||
|
|
Загрузка…
Ссылка в новой задаче