Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
devmtm committed Mar 21, 2019
1 parent aa404cb commit d6a6b00
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions dist/js/field.js
Original file line number Diff line number Diff line change
Expand Up @@ -10856,12 +10856,6 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
methods: {
redirect: function redirect(locale) {
window.location = this.replaceUrlParam(window.location.href, 'lang', locale);
// console.log(locale);
// window.location = Nova.config.base
// + "/resources/"
// + this.resourceName + "/"
// + this.field.value.id + "/edit"
// + "?lang=" + locale;
},
replaceUrlParam: function replaceUrlParam(url, paramName, paramValue) {
if (paramValue == null) {
Expand Down
6 changes: 0 additions & 6 deletions resources/js/components/IndexField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@
methods: {
redirect(locale) {
window.location = this.replaceUrlParam(window.location.href, 'lang', locale);
// console.log(locale);
// window.location = Nova.config.base
// + "/resources/"
// + this.resourceName + "/"
// + this.field.value.id + "/edit"
// + "?lang=" + locale;
},
replaceUrlParam(url, paramName, paramValue)
Expand Down

0 comments on commit d6a6b00

Please sign in to comment.