documents data view

This commit is contained in:
j 2024-08-30 16:23:07 +02:00
commit a218b906cc
3 changed files with 14 additions and 2 deletions

View file

@ -52,6 +52,13 @@ pandora.ui.document = function() {
$content.replaceWith(
$content = pandora.ui.documentInfoView(result.data)
);
} else if (pandora.user.ui.documentView == 'data') {
$content.replaceWith(
$content = Ox.TreeList({
data: result.data,
width: pandora.$ui.mainPanel.size(1) - Ox.UI.SCROLLBAR_SIZE
})
);
} else {
setContent();
}