diff options
Diffstat (limited to 'apps/comments/src/views/ActivityCommentEntry.vue')
-rw-r--r-- | apps/comments/src/views/ActivityCommentEntry.vue | 26 |
1 files changed, 5 insertions, 21 deletions
diff --git a/apps/comments/src/views/ActivityCommentEntry.vue b/apps/comments/src/views/ActivityCommentEntry.vue index 38fc2d5f1ef..bbfe530b2e3 100644 --- a/apps/comments/src/views/ActivityCommentEntry.vue +++ b/apps/comments/src/views/ActivityCommentEntry.vue @@ -1,24 +1,7 @@ <!-- - - @copyright Copyright (c) 2023 Ferdinand Thiessen <opensource@fthiessen.de> - - - - @author Ferdinand Thiessen <opensource@fthiessen.de> - - - - @license AGPL-3.0-or-later - - - - This program is free software: you can redistribute it and/or modify - - it under the terms of the GNU Affero General Public License as - - published by the Free Software Foundation, either version 3 of the - - License, or (at your option) any later version. - - - - This program is distributed in the hope that it will be useful, - - but WITHOUT ANY WARRANTY; without even the implied warranty of - - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - - GNU Affero General Public License for more details. - - - - You should have received a copy of the GNU Affero General Public License - - along with this program. If not, see <http://www.gnu.org/licenses/>. - - - --> + - SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors + - SPDX-License-Identifier: AGPL-3.0-or-later +--> <template> <Comment ref="comment" @@ -34,6 +17,7 @@ </template> <script lang="ts"> +import type { PropType } from 'vue' import { translate as t } from '@nextcloud/l10n' import Comment from '../components/Comment.vue' @@ -53,7 +37,7 @@ export default { required: true, }, reloadCallback: { - type: Function, + type: Function as PropType<() => void>, required: true, }, }, |