Skip to content

Commit

Permalink
Merge pull request #42 from gewaer/development
Browse files Browse the repository at this point in the history
  • Loading branch information
SparoHawk authored May 14, 2021
2 parents 4854a31 + e6fd90e commit 0d1f3d0
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 18 deletions.
16 changes: 10 additions & 6 deletions dist/gw-browse.common.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/gw-browse.common.js.map

Large diffs are not rendered by default.

16 changes: 10 additions & 6 deletions dist/gw-browse.umd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/gw-browse.umd.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/gw-browse.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/gw-browse.umd.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gewaer/gw-browse",
"version": "0.2.5",
"version": "0.2.9",
"description": "Base browse component for the Gewaer platform.",
"main": "./dist/gw-browse.umd.min.js",
"files": [
Expand Down
3 changes: 3 additions & 0 deletions src/components/resource-actions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ export default {
},
computed: {
createUrl() {
if (this.createResourceUrl) {
return this.createResourceUrl;
}
return this.currentResource ? { name: "create-resource", params: { resource: this.currentResource.slug } } : { }
}
},
Expand Down

0 comments on commit 0d1f3d0

Please sign in to comment.