Fix the "view object" link in CRUD header
depending on if object is a "row" or not
This commit is contained in:
parent
2f58da7df3
commit
cd71754f84
|
@ -16,8 +16,9 @@
|
|||
{{ renderHeaderLabel(record) }}
|
||||
</li>
|
||||
<li v-if="mode == 'editing' || mode == 'executing' || mode == 'deleting'">
|
||||
<!-- <router-link :to="getRowPathPrefix() + '/' + record.uuid">{{ renderHeaderLabel(record) }}</router-link> -->
|
||||
<router-link :to="getModelPathPrefix() + '/' + record.uuid">{{ renderHeaderLabel(record) }}</router-link>
|
||||
<router-link :to="getViewURL()">
|
||||
{{ renderHeaderLabel(record) }}
|
||||
</router-link>
|
||||
</li>
|
||||
<li v-if="mode == 'editing'">
|
||||
Edit
|
||||
|
|
Loading…
Reference in a new issue