Skip to content

Commit 692665a

Browse files
committed
fix: fix experiment deletion
1 parent 01e87c2 commit 692665a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

views/experiments.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ block scripts
5252

5353
// Create columns from options
5454
var columns = [
55-
{field: "_delete", title: "", formatter: function(val) {return "<button data-id='" + val + "' class='btn btn-danger-outline btn-sm delete'><span class='octicon octicon-trashcan'></span></button>";}},
55+
{field: "_id", title: "", formatter: function(val) {return "<button data-id='" + val + "' class='btn btn-danger-outline btn-sm delete'><span class='octicon octicon-trashcan'></span></button>";}},
5656
{field: "_id", title: "ID", sortable: "true", formatter: function(val) {return "<a href='/experiments/" + val + "'>" + val + "</a>";}},
5757
{field: "_status", title: "Status", sortable: "true", formatter: function(val) {
5858
// Colour-code status

0 commit comments

Comments
 (0)