- Prevent submit shared form

- Send shared link from FileInfoPanel.vue
This commit is contained in:
Peter Papp
2021-01-30 14:01:36 +01:00
parent eb2e39cd32
commit 267556b39d
6 changed files with 14 additions and 15 deletions
-1
View File
@@ -21,7 +21,6 @@ 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,