summaryrefslogtreecommitdiff
path: root/views/staff/layouts/show.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/staff/layouts/show.ejs')
-rw-r--r--views/staff/layouts/show.ejs4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/staff/layouts/show.ejs b/views/staff/layouts/show.ejs
index 0a2014b..b66449f 100644
--- a/views/staff/layouts/show.ejs
+++ b/views/staff/layouts/show.ejs
@@ -45,14 +45,14 @@
featured?
</th>
<td id="isStockLayout">
- [[- layout.plan_type == 0 ? "yes" : "no" ]]
+ [[- layout.is_stock ? "yes" : "no" ]]
</td>
</tr>
</table>
<br><br>
<div id="actions">
- <button id="toggle-stock" data-stock="[[- !! (layout.plan_type == 0) ]]">Make this layout Stock</button>
+ <button id="toggle-stock" data-stock="[[- !! (layout.is_stock) ]]">Make this layout Stock</button>
</div>
<br>