[events] Renamed to match backend name

This commit is contained in:
Ferdinand Thiessen 2021-03-28 21:24:37 +02:00
parent 4bc602fed2
commit 8abcd44340
21 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@ const config: { [key: string]: Array<string> } = {
// Do not change required Modules !!
requiredModules: ['User'],
// here you can import plugins.
loadModules: ['Balance', 'Schedule', 'Pricelist'],
loadModules: ['Balance', 'Events', 'Pricelist'],
};
/* Stop!

View File

@ -49,7 +49,7 @@
<script lang="ts">
import { defineComponent, computed, PropType } from 'vue';
import { hasPermission } from 'src/utils/permission';
import { PERMISSIONS } from 'src/plugins/schedule/permissions';
import { PERMISSIONS } from 'src/plugins/events/permissions';
import JobSlot from './JobSlot.vue';
export default defineComponent({

View File

@ -40,7 +40,7 @@ import { Notify } from 'quasar';
import { asHour } from 'src/utils/datetime';
import { useUserStore } from 'src/plugins/user/store';
import { useMainStore } from 'src/stores';
import { useScheduleStore } from 'src/plugins/schedule/store';
import { useScheduleStore } from 'src/plugins/events/store';
export default defineComponent({
name: 'JobSlot',

View File

@ -3,12 +3,12 @@ import { innerRoutes, privateRoutes } from './routes';
import { FG_Plugin } from 'src/plugins';
const plugin: FG_Plugin.Plugin = {
name: 'Schedule',
name: 'Events',
innerRoutes,
internalRoutes: privateRoutes,
requiredModules: ['User'],
requiredBackendModules: ['events'],
version: '0.0.1',
version: '0.0.2',
widgets: [
{
priority: 0,