Skip to content

Commit 796813f

Browse files
committed
Use relatively link path Export CSV button
The absolute link doesn't work if the app has a context path other than /
1 parent ebbbe95 commit 796813f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/outbackcdx/dashboard.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@
781781
<input placeholder="Search" class="searchbox" :value="this.$route.query.search" @input="onQueryInput" @paste="onQueryInput">
782782

783783
<router-link :to="{name: 'access-rule', params: { collection: $route.params.collection, ruleId: 'new' }}" class="button">New Rule</router-link>
784-
<a :href="'/' + $route.params.collection + '/access/rules?output=csv'" class="button">Export CSV</a>
784+
<a :href="$route.params.collection + '/access/rules?output=csv'" class="button">Export CSV</a>
785785
</div>
786786

787787
<table class="table big-table">

0 commit comments

Comments
 (0)