[cleanup] Minor styling fixes
This commit is contained in:
parent
7eb0074111
commit
7b622f96ea
|
@ -63,7 +63,7 @@ export default defineComponent({
|
|||
|
||||
const editor = ref<FG.Event | undefined>(undefined);
|
||||
const events = ref<FG.Event[]>([]);
|
||||
const scrollDiv = ref<Element>()
|
||||
const scrollDiv = ref<Element>();
|
||||
|
||||
const agendas = computed<Agendas>(() => {
|
||||
const ag = {} as Agendas;
|
||||
|
@ -159,7 +159,8 @@ export default defineComponent({
|
|||
asYear,
|
||||
asMonth,
|
||||
edit,
|
||||
editor,scrollDiv,
|
||||
editor,
|
||||
scrollDiv,
|
||||
editDone,
|
||||
load,
|
||||
remove,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { FG_Plugin } from "@flaschengeist/types";
|
||||
import { FG_Plugin } from '@flaschengeist/types';
|
||||
|
||||
export interface RecurrenceRule {
|
||||
frequency: string;
|
||||
|
@ -13,13 +13,13 @@ interface InvitationData {
|
|||
}
|
||||
|
||||
interface InvitationResponseData {
|
||||
event: number,
|
||||
job: number,
|
||||
invitee: string
|
||||
event: number;
|
||||
job: number;
|
||||
invitee: string;
|
||||
}
|
||||
|
||||
export interface EventNotification extends FG_Plugin.Notification {
|
||||
data: {
|
||||
type: number
|
||||
type: number;
|
||||
} & (InvitationData | InvitationResponseData);
|
||||
}
|
||||
|
|
|
@ -30,7 +30,10 @@ function transpile(msg: FG_Plugin.Notification) {
|
|||
|
||||
message.link = { name: 'events-requests' };
|
||||
} else if ((message.data.type & EventTypes._mask_) === EventTypes.invitation_response) {
|
||||
message.link = {name: 'events-single-view', params: {id: (<InvitationResponseData>message.data).event}}
|
||||
message.link = {
|
||||
name: 'events-single-view',
|
||||
params: { id: (<InvitationResponseData>message.data).event },
|
||||
};
|
||||
}
|
||||
return message;
|
||||
}
|
||||
|
|
|
@ -53,7 +53,7 @@ export const privateRoutes: FG_Plugin.NamedRouteRecordRaw[] = [
|
|||
name: 'events-single-view',
|
||||
path: 'events/:id',
|
||||
component: () => import('../pages/EventPage.vue'),
|
||||
props: true
|
||||
props: true,
|
||||
},
|
||||
{
|
||||
name: 'events-edit',
|
||||
|
|
Loading…
Reference in New Issue