Skip to content

Commit

Permalink
User BREAD fix (#3122)
Browse files Browse the repository at this point in the history
* User BREAD fix

* Make input hidden

* Wrong field was hidden
  • Loading branch information
Christoph Schweppe authored and fletch3555 committed May 3, 2018
1 parent f3eb501 commit 9729199
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions publishable/database/seeds/DataRowsTableSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,22 @@ public function run()
])->save();
}

$dataRow = $this->dataRow($userDataType, 'settings');
if (!$dataRow->exists) {
$dataRow->fill([
'type' => 'hidden',
'display_name' => 'Settings',
'required' => 0,
'browse' => 0,
'read' => 0,
'edit' => 0,
'add' => 0,
'delete' => 0,
'details' => '',
'order' => 12,
])->save();
}

$dataRow = $this->dataRow($menuDataType, 'id');
if (!$dataRow->exists) {
$dataRow->fill([
Expand Down

0 comments on commit 9729199

Please sign in to comment.