@afeefa/vue-app 0.0.104 → 0.0.106

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- 0.0.104
1
+ 0.0.106
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afeefa/vue-app",
3
- "version": "0.0.104",
3
+ "version": "0.0.106",
4
4
  "description": "",
5
5
  "author": "Afeefa Kollektiv <kollektiv@afeefa.de>",
6
6
  "license": "MIT",
@@ -1,3 +1,6 @@
1
+ import { AlertEvent } from '@a-vue/events'
2
+ import { eventBus } from '@a-vue/plugins/event-bus/EventBus'
3
+
1
4
  import { ApiAction } from './ApiAction'
2
5
 
3
6
  export class DeleteAction extends ApiAction {
@@ -22,4 +25,12 @@ export class DeleteAction extends ApiAction {
22
25
  processResult () {
23
26
  return true
24
27
  }
28
+
29
+ processError (result) {
30
+ eventBus.dispatch(new AlertEvent(AlertEvent.ERROR, {
31
+ headline: 'Die Daten konnten nicht gelöscht werden.',
32
+ message: result.message,
33
+ detail: result.detail
34
+ }))
35
+ }
25
36
  }
@@ -170,4 +170,7 @@ export default class AContextMenu extends Mixins(UsesPositionServiceMixin) {
170
170
  margin: .3rem 0;
171
171
  }
172
172
  }
173
+ .contextButton {
174
+ cursor: pointer;
175
+ }
173
176
  </style>
@@ -94,8 +94,6 @@ export default class FlyingContextContainer extends Vue {
94
94
  background: white;
95
95
  transition: right .2s;
96
96
  padding: 2rem;
97
- overflow-x: hidden;
98
- overflow-y: scroll;
99
97
 
100
98
  &:not(.visible) {
101
99
  right: -80vw;