Ocelot-Social/webapp/components/Registration/RegistrationSlideNoPublic.vue
Ulf Gebhardt 8f72c4282a
improve login & invite mechanics (#8574)
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2025-05-22 18:24:02 +00:00

33 lines
688 B
Vue

<template>
<ds-space centered>
<hc-empty icon="events" :message="$t('components.registration.signup.unavailable')" />
<slot></slot>
<ds-space margin="xxx-small" />
</ds-space>
</template>
<script>
import HcEmpty from '~/components/Empty/Empty'
export default {
name: 'RegistrationSlideNoPublic',
components: {
HcEmpty,
},
props: {
sliderData: { type: Object, required: true },
},
mounted: function () {
this.sliderData.setSliderValuesCallback(true, {
sliderSettings: { buttonSliderCallback: this.onNextClick },
})
},
methods: {
onNextClick() {
this.$router.history.push('/login')
return true
},
},
}
</script>