import Component from 'vue-class-component';
import { Inject } from 'vue-property-decorator';
import { BaseRouteComponent } from '../../../../../../../../../_common/route/route-component';
import FormCommunityCompetitionEdit from '../../../../../../../../components/forms/community/competition/edit/edit.vue';
import { CommunityRouteStore, CommunityRouteStoreKey } from '../../../../../view.store';

@Component({
	name: 'RouteCommunitiesViewEditChannelsCompetitionSettings',
	components: {
		FormCommunityCompetitionEdit,
	},
})
export default class RouteCommunitiesViewEditChannelsCompetitionSettings extends BaseRouteComponent {
	@Inject(CommunityRouteStoreKey) routeStore!: CommunityRouteStore;

	get competition() {
		return this.routeStore.competition!;
	}
}
