Skip to content

Commit

Permalink
Disabled Vue productionTip
Browse files Browse the repository at this point in the history
Signed-off-by: cnmicha <[email protected]>
  • Loading branch information
cnmicha committed Dec 27, 2020
1 parent 2df7840 commit 7958afd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions js/photos-filesbutton.js
Original file line number Diff line number Diff line change
Expand Up @@ -27066,7 +27066,8 @@ __webpack_require__.r(__webpack_exports__);
var vueRoot = document.createElement('div');
vueRoot.id = 'open-in-photos-button-root';
document.getElementById('showgridview').insertAdjacentElement('beforebegin', vueRoot);
vue__WEBPACK_IMPORTED_MODULE_0__["default"].prototype.t = _nextcloud_l10n__WEBPACK_IMPORTED_MODULE_2__["translate"]; // Create Vue.js instance
vue__WEBPACK_IMPORTED_MODULE_0__["default"].prototype.t = _nextcloud_l10n__WEBPACK_IMPORTED_MODULE_2__["translate"];
vue__WEBPACK_IMPORTED_MODULE_0__["default"].config.productionTip = false; // Create Vue.js instance
// eslint-disable-next-line no-new

new vue__WEBPACK_IMPORTED_MODULE_0__["default"]({
Expand All @@ -27083,4 +27084,4 @@ __webpack_require__.r(__webpack_exports__);
/***/ })

/******/ });
//# sourceMappingURL=photos-filesbutton.js.map?v=d7ba2670caab7c6e10a3
//# sourceMappingURL=photos-filesbutton.js.map?v=19267f0558f86086196b
2 changes: 1 addition & 1 deletion js/photos-filesbutton.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/filesbutton.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import { translate } from '@nextcloud/l10n'
document.getElementById('showgridview').insertAdjacentElement('beforebegin', vueRoot)

Vue.prototype.t = translate
Vue.config.productionTip = false

// Create Vue.js instance
// eslint-disable-next-line no-new
Expand Down

0 comments on commit 7958afd

Please sign in to comment.