aloha-vue 1.0.87 → 1.0.88

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.
@@ -132,6 +132,13 @@ export default {
132
132
  disabledCallback: ({ row, rowIndex }) => !(rowIndex > 2 && row.aloha),
133
133
  callback: this.clickMe,
134
134
  },
135
+ {
136
+ icon: "Export",
137
+ type: "link",
138
+ hrefCallback: ({ row }) => `dokumente/${ row.pk }/download/`,
139
+ label: "Dokument herunterladen",
140
+ target: "_blank",
141
+ },
135
142
  ],
136
143
  multipleActions: [
137
144
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aloha-vue",
3
3
  "description": "Project aloha",
4
- "version": "1.0.87",
4
+ "version": "1.0.88",
5
5
  "author": "Ilia Brykin",
6
6
  "scripts": {
7
7
  "build-icons": "node scriptsNode/iconsSvgToJs.js bootstrap3 && node scriptsNode/iconsSvgToJs.js bootstrap-1-9-1"
@@ -133,7 +133,7 @@ export default {
133
133
  targetObject() {
134
134
  const TARGET_OBJECT = {};
135
135
  if (this.rowAction.target) {
136
- return TARGET_OBJECT.target = this.rowAction.target;
136
+ TARGET_OBJECT.target = this.rowAction.target;
137
137
  }
138
138
  return TARGET_OBJECT;
139
139
  },