aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Reaction/UI/ViewPort/GridView/Row.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Reaction/UI/ViewPort/GridView/Row.pm')
-rw-r--r--lib/Reaction/UI/ViewPort/GridView/Row.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Reaction/UI/ViewPort/GridView/Row.pm b/lib/Reaction/UI/ViewPort/GridView/Row.pm
index 2edb06a..6c84967 100644
--- a/lib/Reaction/UI/ViewPort/GridView/Row.pm
+++ b/lib/Reaction/UI/ViewPort/GridView/Row.pm
@@ -77,6 +77,7 @@ class Row is 'Reaction::UI::ViewPort::ObjectView', which {
around build_fields_for_type_ArrayRef => sub {
my ($orig, $self, $attr, $args) = @_;
+ return;
$args->{Field}{$attr->name}{layout} = 'value/list'
unless( exists $args->{Field}{$attr->name} &&
exists $args->{Field}{$attr->name}{layout} &&
@@ -87,6 +88,7 @@ class Row is 'Reaction::UI::ViewPort::ObjectView', which {
around build_fields_for_type_Reaction_InterfaceModel_Collection => sub {
my ($orig, $self, $attr, $args) = @_;
+ return;
$args->{Field}{$attr->name}{layout} = 'value/collection'
unless( exists $args->{Field}{$attr->name} &&
exists $args->{Field}{$attr->name}{layout} &&
@@ -97,6 +99,7 @@ class Row is 'Reaction::UI::ViewPort::ObjectView', which {
around build_fields_for_type_Reaction_InterfaceModel_Object => sub {
my ($orig, $self, $attr, $args) = @_;
+ return;
$args->{Field}{$attr->name}{layout} = 'value/related_object'
unless( exists $args->{Field}{$attr->name} &&
exists $args->{Field}{$attr->name}{layout} &&