mirror of
https://github.com/lubosz/overte.git
synced 2025-04-10 08:57:12 +02:00
drillDownToPlace and iStacked based on server data.
This commit is contained in:
parent
cf9cf45d02
commit
05d3f92867
1 changed files with 4 additions and 1 deletions
|
@ -86,7 +86,9 @@ Column {
|
|||
tags: tags,
|
||||
description: description,
|
||||
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;
|
||||
storyId: model.metaverseId;
|
||||
drillDownToPlace: model.drillDownToPlace;
|
||||
isStacked: model.isStacked;
|
||||
|
||||
textPadding: root.textPadding;
|
||||
smallMargin: root.smallMargin;
|
||||
|
|
Loading…
Reference in a new issue