Skip to content

Commit 74aa3d9

Browse files
committed
fix: groups edit fetch
1 parent 14e34d4 commit 74aa3d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

client/components/admin/admin-groups-edit.vue

+3-1
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@
127127
</template>
128128

129129
<script>
130+
import _ from 'lodash'
131+
130132
import Criterias from '../common/criterias.vue'
131133
import UserSearch from '../common/user-search.vue'
132134
@@ -287,7 +289,7 @@ export default {
287289
query: groupQuery,
288290
variables() {
289291
return {
290-
id: this.$route.params.id
292+
id: _.toSafeInteger(this.$route.params.id)
291293
}
292294
},
293295
fetchPolicy: 'network-only',

0 commit comments

Comments
 (0)