Skip to content

Commit 7958afd

Browse files
committed
Disabled Vue productionTip
Signed-off-by: cnmicha <[email protected]>
1 parent 2df7840 commit 7958afd

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

js/photos-filesbutton.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27066,7 +27066,8 @@ __webpack_require__.r(__webpack_exports__);
2706627066
var vueRoot = document.createElement('div');
2706727067
vueRoot.id = 'open-in-photos-button-root';
2706827068
document.getElementById('showgridview').insertAdjacentElement('beforebegin', vueRoot);
27069-
vue__WEBPACK_IMPORTED_MODULE_0__["default"].prototype.t = _nextcloud_l10n__WEBPACK_IMPORTED_MODULE_2__["translate"]; // Create Vue.js instance
27069+
vue__WEBPACK_IMPORTED_MODULE_0__["default"].prototype.t = _nextcloud_l10n__WEBPACK_IMPORTED_MODULE_2__["translate"];
27070+
vue__WEBPACK_IMPORTED_MODULE_0__["default"].config.productionTip = false; // Create Vue.js instance
2707027071
// eslint-disable-next-line no-new
2707127072

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

2708527086
/******/ });
27086-
//# sourceMappingURL=photos-filesbutton.js.map?v=d7ba2670caab7c6e10a3
27087+
//# sourceMappingURL=photos-filesbutton.js.map?v=19267f0558f86086196b

js/photos-filesbutton.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/filesbutton.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import { translate } from '@nextcloud/l10n'
3535
document.getElementById('showgridview').insertAdjacentElement('beforebegin', vueRoot)
3636

3737
Vue.prototype.t = translate
38+
Vue.config.productionTip = false
3839

3940
// Create Vue.js instance
4041
// eslint-disable-next-line no-new

0 commit comments

Comments
 (0)