Skip to content

fix: bt update -openerTabId works again#121

Open
atondwal wants to merge 1 commit intobalta2ar:masterfrom
atondwal:master
Open

fix: bt update -openerTabId works again#121
atondwal wants to merge 1 commit intobalta2ar:masterfrom
atondwal:master

Conversation

@atondwal
Copy link

@atondwal atondwal commented Jan 5, 2025

We need to parse a bt tab id like 'a.X.Y' or even just 'Y' from a string
into an int, otherwise we get the following type errors, respectively:

Uncaught (in promise) Error: Type error for parameter updateProperties (Error processing openerTabId: Expected integer instead of "a.1.31") for tabs.update.

Uncaught (in promise) Error: Type error for parameter updateProperties (Error processing openerTabId: Expected integer instead of "31") for tabs.update.

We need to parse a bt tab id like 'a.X.Y' or even just 'Y' from a string
into an int, otherwise we get the following type errors, respectively:

    Uncaught (in promise) Error: Type error for parameter updateProperties (Error processing openerTabId: Expected integer instead of "a.1.31") for tabs.update.

    Uncaught (in promise) Error: Type error for parameter updateProperties (Error processing openerTabId: Expected integer instead of "31") for tabs.update.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant