<template>
	<furniture-reception-impl :incomingTab="incomingTab" />
</template>

<script>
import FurnitureReceptionImpl from './furniture_reception-impl.vue';

export default {
	name: 'FurnitureReceptionEntry',
	components: {
		FurnitureReceptionImpl,
	},
	data() {
		return {
			incomingTab: '',
		};
	},
	onLoad(options = {}) {
		const allowed = ['status', 'reception', 'tag'];
		const raw = options.tab != null ? String(options.tab) : '';
		this.incomingTab = allowed.includes(raw) ? raw : 'reception';
	},
};
</script>
