Jake Vanderwerf
2025-11-04 42fa8304ddb811b0f725f245130f70c0f5e86a6c
assets/js/dash/Tabs.js
@@ -156,7 +156,7 @@
     * @param {string} tab - Tab to switch to ('items' or 'lists')
     * @param {boolean} updateHistory - Whether to push the state to the url
     */
    switchTab(tab, updateHistory = true) {
    switchTab(tab, updateHistory = false) {
      document.activeElement?.blur();
      // if (typeof this.callbacks['onSwitch'] === 'function') {
@@ -213,8 +213,8 @@
     * Update URL when a child tab changes
     */
    updateUrlFromChild() {
      console.log('Updating URL');
      if (('updateURL' in this.callbacks) ? this.callbacks.updateURL : true) {
         console.log('UpdateUrlFromChild');
         if (!this.parent) {
            // Only the root container should update the URL
            const fullPath = this.getFullTabPath(this.activeTab);