small edits

This commit is contained in:
akemidx 2023-03-21 15:48:53 -04:00
parent a8e2f72e25
commit 3134279a95
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,7 @@ class AccessoriesTransformer
'checkin' => false,
'update' => Gate::allows('update', Accessory::class),
'delete' => Gate::allows('delete', Accessory::class),
'clone' => (Gate::allows('create', Accessory::class) && ($accessory->created_at == 'datetime')),
'clone' => Gate::allows('create', Accessory::class),
];

View file

@ -16,6 +16,6 @@ return array(
'update' => 'Update Accessory',
'use_default_eula' => 'Use the <a href="#" data-toggle="modal" data-target="#eulaModal">primary default EULA</a> instead.',
'use_default_eula_disabled' => '<del>Use the primary default EULA instead.</del> No primary default EULA is set. Please add one in Settings.',
'clone' => 'Clone',
'clone' => 'Clone Accessory',
);