Skip to content

Commit eb476f9

Browse files
committed
Allow rendering simple griddly in non mvc pages
1 parent a10a6b0 commit eb476f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Griddly/Views/Shared/Griddly/Griddly.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
settings.Columns.RemoveAll(x => !x.RenderMode.HasFlag(ColumnRenderMode.View));
1818

1919
bool simple = ViewBag.isSimpleGriddly == true;
20-
bool isFirstRender = ViewContext.Controller.ControllerContext.IsChildAction || simple;
20+
bool isFirstRender = simple || ViewContext.Controller.ControllerContext.IsChildAction;
2121

2222
if (isFirstRender)
2323
{

0 commit comments

Comments
 (0)