Skip to content

Commit

Permalink
fixup! Add shared items and events for each contact
Browse files Browse the repository at this point in the history
Signed-off-by: greta <[email protected]>
  • Loading branch information
GretaD committed Nov 7, 2023
1 parent d8e2e6a commit 1caf0c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/files-action.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@
*
*/
import { generateUrl } from '@nextcloud/router'

const mime = 'text/vcard'
const name = 'contacts-import'

window.addEventListener('DOMContentLoaded', () => {
if (OCA.Files && OCA?.Files?.fileActions) {
if (OCA.Files && OCA.Files.fileActions) {
OCA.Files.fileActions.registerAction({
name,
displayName: t('contacts', 'Import'),
Expand Down

0 comments on commit 1caf0c8

Please sign in to comment.