Remove links
This commit is contained in:
parent
e26b572575
commit
dbbe6f6171
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="sidebar flex flex-col group is-bright">
|
<div class="sidebar flex flex-col group is-bright">
|
||||||
<page-header :links="indexLinks" @close="$emit('close')" title="Ausbildungen">
|
<page-header @close="$emit('close')" title="Ausbildungen">
|
||||||
<div class="flex" slot="toolbar">
|
<div class="flex" slot="toolbar">
|
||||||
<page-toolbar-button @click.prevent="create" color="primary" icon="plus" v-if="single === null">Neue Ausbildung</page-toolbar-button>
|
<page-toolbar-button @click.prevent="create" color="primary" icon="plus" v-if="single === null">Neue Ausbildung</page-toolbar-button>
|
||||||
<page-toolbar-button @click.prevent="cancel" color="primary" icon="undo" v-if="single !== null">Zurück</page-toolbar-button>
|
<page-toolbar-button @click.prevent="cancel" color="primary" icon="undo" v-if="single !== null">Zurück</page-toolbar-button>
|
||||||
|
@ -54,7 +54,6 @@ export default {
|
||||||
return {
|
return {
|
||||||
mode: null,
|
mode: null,
|
||||||
single: null,
|
single: null,
|
||||||
indexLinks: [{event: 'create', label: 'Neuer Kurs'}],
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="sidebar flex flex-col group is-bright">
|
<div class="sidebar flex flex-col group is-bright">
|
||||||
<page-header :links="links" @close="$emit('close')" title="Mitgliedschaften">
|
<page-header @close="$emit('close')" title="Mitgliedschaften">
|
||||||
<div class="flex" slot="toolbar">
|
<div class="flex" slot="toolbar">
|
||||||
<page-toolbar-button @click.prevent="create" color="primary" icon="plus" v-if="single === null">Neue Mitgliedschaft</page-toolbar-button>
|
<page-toolbar-button @click.prevent="create" color="primary" icon="plus" v-if="single === null">Neue Mitgliedschaft</page-toolbar-button>
|
||||||
<page-toolbar-button @click.prevent="cancel" color="primary" icon="undo" v-if="single !== null">Zurück</page-toolbar-button>
|
<page-toolbar-button @click.prevent="cancel" color="primary" icon="undo" v-if="single !== null">Zurück</page-toolbar-button>
|
||||||
|
@ -61,7 +61,6 @@ export default {
|
||||||
return {
|
return {
|
||||||
mode: null,
|
mode: null,
|
||||||
single: null,
|
single: null,
|
||||||
links: [{event: 'create', label: 'Neu'}],
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue