webapp: declare emitted event in FormFooter component

fixes an annoying warning (visible in the browser console):

[Vue warn]: Extraneous non-emits event listeners (reload) were passed to
component but could not be automatically inherited because component
renders fragment or text root nodes. If the listener is intended to be a
component custom event listener only, declare it using the "emits"
option.
This commit is contained in:
Bernhard Kirchen 2024-11-06 22:22:14 +01:00 committed by Thomas Basler
parent 74e3947cb2
commit d088021902

View File

@ -7,3 +7,9 @@
<button type="submit" class="btn btn-primary">{{ $t('base.Save') }}</button> <button type="submit" class="btn btn-primary">{{ $t('base.Save') }}</button>
</div> </div>
</template> </template>
<script lang="ts">
export default {
emits: ['reload'],
};
</script>