Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
285 changes: 0 additions & 285 deletions apps/files_sharing/src/files_actions/acceptShareAction.spec.ts

This file was deleted.

51 changes: 0 additions & 51 deletions apps/files_sharing/src/files_actions/acceptShareAction.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type { IFolder, IView } from '@nextcloud/files'

import { DefaultType, File, Permission } from '@nextcloud/files'
import { describe, expect, test, vi } from 'vitest'
import { deletedSharesViewId, pendingSharesViewId, sharedWithOthersViewId, sharedWithYouViewId, sharesViewId, sharingByLinksViewId } from '../files_views/shares.ts'
import { deletedSharesViewId, sharedWithOthersViewId, sharedWithYouViewId, sharesViewId, sharingByLinksViewId } from '../files_views/shares.ts'
import { action } from './openInFilesAction.ts'

import '../main.ts'
Expand All @@ -26,7 +26,6 @@ const validViews = [

const invalidViews = [
deletedSharesViewId,
pendingSharesViewId,
].map((id) => ({ id, name: id })) as IView[]

describe('Open in files action conditions tests', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const action: IFileAction = {
sharedWithYouViewId,
sharedWithOthersViewId,
sharingByLinksViewId,
// Deleted and pending shares are not
// Deleted shares are not
// accessible in the files app.
].includes(view.id),

Expand Down
Loading
Loading