Skip to content

Commit be18347

Browse files
committed
[Autocomplete] Remove console.log from controller
1 parent 9c7a811 commit be18347

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Autocomplete/assets/dist/controller.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1515
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1616
PERFORMANCE OF THIS SOFTWARE.
1717
***************************************************************************** */
18+
/* global Reflect, Promise */
19+
1820

1921
function __classPrivateFieldGet(receiver, state, kind, f) {
2022
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
@@ -201,7 +203,6 @@ class default_1 extends Controller {
201203
const filteredNewOptions = newOptions.filter((option) => option.value !== '');
202204
const originalPlaceholderOption = this.originalOptions.find((option) => option.value === '');
203205
const newPlaceholderOption = newOptions.find((option) => option.value === '');
204-
console.log(originalPlaceholderOption, newPlaceholderOption);
205206
if (originalPlaceholderOption &&
206207
newPlaceholderOption &&
207208
originalPlaceholderOption.text !== newPlaceholderOption.text) {

src/Autocomplete/assets/src/controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ export default class extends Controller {
431431

432432
const originalPlaceholderOption = this.originalOptions.find((option) => option.value === '');
433433
const newPlaceholderOption = newOptions.find((option) => option.value === '');
434-
console.log(originalPlaceholderOption, newPlaceholderOption);
434+
435435
if (
436436
originalPlaceholderOption &&
437437
newPlaceholderOption &&

0 commit comments

Comments
 (0)