diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-08-09 14:59:35 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-08-17 18:56:37 +0200 |
commit | 410f58e43e8db767eaf0b272ab6ffde1841cd6a2 (patch) | |
tree | 5f0d2812ce7cce75b6b72c3652c81f7ae3c26bfd /apps/files_sharing | |
parent | 998b3a2581fb873b03bcf4dc02eafb19390b3cd6 (diff) | |
download | nextcloud-server-410f58e43e8db767eaf0b272ab6ffde1841cd6a2.tar.gz nextcloud-server-410f58e43e8db767eaf0b272ab6ffde1841cd6a2.zip |
chore(files): add Headers, remove legacy methods and cleanup
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/src/views/shares.spec.ts | 2 | ||||
-rw-r--r-- | apps/files_sharing/src/views/shares.ts | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/apps/files_sharing/src/views/shares.spec.ts b/apps/files_sharing/src/views/shares.spec.ts index e5c7e6853c6..424d3680411 100644 --- a/apps/files_sharing/src/views/shares.spec.ts +++ b/apps/files_sharing/src/views/shares.spec.ts @@ -25,7 +25,7 @@ import axios from '@nextcloud/axios' import { type Navigation } from '../../../files/src/services/Navigation' import { type OCSResponse } from '../services/SharingService' -import NavigationService from '../../../files/src/services/Navigation' +import { NavigationService } from '../../../files/src/services/Navigation' import registerSharingViews from './shares' import '../main' diff --git a/apps/files_sharing/src/views/shares.ts b/apps/files_sharing/src/views/shares.ts index ff37983813e..74be9e7a503 100644 --- a/apps/files_sharing/src/views/shares.ts +++ b/apps/files_sharing/src/views/shares.ts @@ -19,8 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ -import type NavigationService from '../../../files/src/services/Navigation' -import type { Navigation } from '../../../files/src/services/Navigation' +import type { NavigationService, Navigation } from '../../../files/src/services/Navigation' import { translate as t } from '@nextcloud/l10n' import AccountClockSvg from '@mdi/svg/svg/account-clock.svg?raw' |