[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 !!
|
// Do not change required Modules !!
|
||||||
requiredModules: ['User'],
|
requiredModules: ['User'],
|
||||||
// here you can import plugins.
|
// here you can import plugins.
|
||||||
loadModules: ['Balance', 'Schedule', 'Pricelist'],
|
loadModules: ['Balance', 'Events', 'Pricelist'],
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Stop!
|
/* Stop!
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { defineComponent, computed, PropType } from 'vue';
|
import { defineComponent, computed, PropType } from 'vue';
|
||||||
import { hasPermission } from 'src/utils/permission';
|
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';
|
import JobSlot from './JobSlot.vue';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
|
@ -40,7 +40,7 @@ import { Notify } from 'quasar';
|
||||||
import { asHour } from 'src/utils/datetime';
|
import { asHour } from 'src/utils/datetime';
|
||||||
import { useUserStore } from 'src/plugins/user/store';
|
import { useUserStore } from 'src/plugins/user/store';
|
||||||
import { useMainStore } from 'src/stores';
|
import { useMainStore } from 'src/stores';
|
||||||
import { useScheduleStore } from 'src/plugins/schedule/store';
|
import { useScheduleStore } from 'src/plugins/events/store';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: 'JobSlot',
|
name: 'JobSlot',
|
|
@ -3,12 +3,12 @@ import { innerRoutes, privateRoutes } from './routes';
|
||||||
import { FG_Plugin } from 'src/plugins';
|
import { FG_Plugin } from 'src/plugins';
|
||||||
|
|
||||||
const plugin: FG_Plugin.Plugin = {
|
const plugin: FG_Plugin.Plugin = {
|
||||||
name: 'Schedule',
|
name: 'Events',
|
||||||
innerRoutes,
|
innerRoutes,
|
||||||
internalRoutes: privateRoutes,
|
internalRoutes: privateRoutes,
|
||||||
requiredModules: ['User'],
|
requiredModules: ['User'],
|
||||||
requiredBackendModules: ['events'],
|
requiredBackendModules: ['events'],
|
||||||
version: '0.0.1',
|
version: '0.0.2',
|
||||||
widgets: [
|
widgets: [
|
||||||
{
|
{
|
||||||
priority: 0,
|
priority: 0,
|
Loading…
Reference in New Issue