Fix the "view object" link in CRUD header

depending on if object is a "row" or not
This commit is contained in:
Lance Edgar 2020-03-01 17:22:57 -06:00
parent 2f58da7df3
commit cd71754f84

View file

@ -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'">
&nbsp; Edit