feat: view specific url

Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
Pranav C
2021-10-08 18:09:49 +05:30
parent 74eab46756
commit 50f4bae996
3 changed files with 81 additions and 41 deletions

View File

@@ -215,7 +215,7 @@
:style="{height:isForm ? '100%' : 'calc(100% - 36px)'}"
style="overflow: auto;width:100%"
>
<v-skeleton-loader v-if="!dataLoaded && (loadingData || loadingData)" type="table" />
<v-skeleton-loader v-if="!dataLoaded && (loadingData || loadingData) || !meta" type="table" />
<template v-else-if="selectedView && (selectedView.type === 'table' || selectedView.show_as === 'grid' )">
<xc-grid-view
:key="key"
@@ -290,13 +290,13 @@
</template>
<template v-else-if="isForm">
<form-view
:id="selectedViewId"
:key="selectedViewId + viewKey"
:nodes="nodes"
:table="table"
:available-columns="availableColumns"
:meta="meta"
:data="data"
:id="selectedViewId"
:show-fields.sync="showFields"
:all-columns="allColumns"
:field-list="fieldList"