[events] Renamed to match backend name
This commit is contained in:
parent
4bc602fed2
commit
8abcd44340
|
@ -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!
|
||||
|
|
|
@ -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({
|
|
@ -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',
|
|
@ -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,
|
Loading…
Reference in New Issue