File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 7373 <p class =" text-xs text-gray-500 mt-1" >Optional: Override default strategy options</p >
7474 </div >
7575
76- <% if (isEdit) { % >
7776 <div >
7877 <label class =" block text-sm font-medium text-gray-700 mb-1" >Active</label >
7978 <label class =" flex items-center" >
80- < input type= " checkbox" name= " status" < %= bot && bot .status === ' running' ? ' checked' : ' ' % > class = " mr-2" >
79+ <input type =" checkbox" name =" status" <% = ! bot || bot.status === ' running' ? ' checked' : ' ' % > class="mr-2">
8180 <span class =" text-sm" >Bot is running</span >
8281 </label >
8382 </div >
84- < % } %>
8583
8684 <div class =" flex justify-end gap-2 pt-4 border-t border-gray-200" >
8785 <a href =" /profiles/<%= profile.id %>" class =" px-4 py-2 text-sm text-gray-600 hover:text-gray-800" >Cancel</a >
You can’t perform that action at this time.
0 commit comments