Merge branch 'fixes' into 'main'

Register missing BellOutline and BellOffOutline icons

See merge request framasoft/mobilizon!1332
This commit is contained in:
Thomas Citharel
2022-11-07 11:23:49 +00:00
5 changed files with 17 additions and 10 deletions

View File

@@ -26,6 +26,14 @@ const { group } = useGroup(props.preferredUsername);
const { t } = useI18n({ useScope: "global" });
const groupTitle = computed((): undefined | string => {
return group && displayName(group.value);
});
const uri = computed((): string | undefined => {
return group.value?.url;
});
useHead({
title: computed(() =>
t("Join group {group}", {
@@ -33,12 +41,4 @@ useHead({
})
),
});
const uri = computed((): string | undefined => {
return group.value?.url;
});
const groupTitle = computed((): undefined | string => {
return group && displayName(group.value);
});
</script>

View File

@@ -240,6 +240,12 @@ const icons: Record<string, () => Promise<any>> = {
import(`../../../node_modules/vue-material-design-icons/ViewList.vue`),
SmokingOff: () =>
import(`../../../node_modules/vue-material-design-icons/SmokingOff.vue`),
BellOutline: () =>
import(`../../../node_modules/vue-material-design-icons/BellOutline.vue`),
BellOffOutline: () =>
import(
`../../../node_modules/vue-material-design-icons/BellOffOutline.vue`
),
};
const props = withDefaults(