Make table wrapper and table options components

This commit is contained in:
Milos Holba
2021-01-19 18:47:53 +01:00
parent 9a736a2615
commit 2263cc9511
11 changed files with 359 additions and 324 deletions

View File

@@ -21,6 +21,7 @@ class ShareResource extends JsonResource
'attributes' => [
'permission' => $this->permission,
'protected' => (int) $this->protected,
'email_share'=> $request->has('emails') ? true : false,
'item_id' => (int) $this->item_id,
'expire_in' => (int) $this->expire_in,
'token' => $this->token,