drillDownToPlace and iStacked based on server data.

This commit is contained in:
howard-stearns 2018-06-12 13:18:44 -07:00
parent cf9cf45d02
commit 05d3f92867

View file

@ -86,7 +86,9 @@ Column {
tags: tags, tags: tags,
description: description, description: description,
online_users: data.details.connections || data.details.concurrency || 0, online_users: data.details.connections || data.details.concurrency || 0,
drillDownToPlace: false // Server currently doesn't give isStacked (undefined). Could give bool.
drillDownToPlace: (data.isStacked === undefined) ? (data.action !== 'concurrency') : data.isStacked,
isStacked: !!data.isStacked
}; };
} }
@ -124,6 +126,7 @@ Column {
onlineUsers: model.online_users; onlineUsers: model.online_users;
storyId: model.metaverseId; storyId: model.metaverseId;
drillDownToPlace: model.drillDownToPlace; drillDownToPlace: model.drillDownToPlace;
isStacked: model.isStacked;
textPadding: root.textPadding; textPadding: root.textPadding;
smallMargin: root.smallMargin; smallMargin: root.smallMargin;