Add basic support for "executing" mode, in model-crud

This commit is contained in:
Lance Edgar 2020-02-26 21:31:38 -06:00
parent d1b503fd41
commit 2f58da7df3

View file

@ -15,12 +15,16 @@
<li v-if="mode == 'viewing'">
&nbsp; {{ renderHeaderLabel(record) }}
</li>
<li v-if="mode == 'editing' || mode == 'deleting'">
<router-link :to="getRowPathPrefix() + '/' + record.uuid">{{ renderHeaderLabel(record) }}</router-link>
<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>
</li>
<li v-if="mode == 'editing'">
&nbsp; Edit
</li>
<li v-if="mode == 'executing'">
&nbsp; Execute
</li>
<li v-if="mode == 'deleting'">
&nbsp; Delete
</li>