Title: TypeError: Cannot read property 'substr' of undefined · Issue #283 · NativeScript/theme · GitHub
Open Graph Title: TypeError: Cannot read property 'substr' of undefined · Issue #283 · NativeScript/theme
X Title: TypeError: Cannot read property 'substr' of undefined · Issue #283 · NativeScript/theme
Description: Environment ✔ Getting NativeScript components versions information... ✔ Component nativescript has 7.0.11 version and is up to date. ✔ Component @nativescript/core has 7.0.13 version and is up to date. ✔ Component @nativescript/ios has 7...
Open Graph Description: Environment ✔ Getting NativeScript components versions information... ✔ Component nativescript has 7.0.11 version and is up to date. ✔ Component @nativescript/core has 7.0.13 version and is up to d...
X Description: Environment ✔ Getting NativeScript components versions information... ✔ Component nativescript has 7.0.11 version and is up to date. ✔ Component @nativescript/core has 7.0.13 version and is up to d...
Opengraph URL: https://github.com/NativeScript/theme/issues/283
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TypeError: Cannot read property 'substr' of undefined","articleBody":"**Environment**\r\n✔ Getting NativeScript components versions information...\r\n✔ Component nativescript has 7.0.11 version and is up to date.\r\n✔ Component @nativescript/core has 7.0.13 version and is up to date.\r\n✔ Component @nativescript/ios has 7.0.6 version and is up to date.\r\n✔ Component @nativescript/android has 7.0.1 version and is up to date.\r\n\r\n**Describe the bug**\r\n`nativescript-ui-chart` on NS7 causes this error: `TypeError: Cannot read property 'substr' of undefined` wich comes from this package (https://github.com/NativeScript/theme/blob/master/src/index.js#L113).\r\nit seems that the property `currentMode` does not exist anymore in the `Theme` class\r\n","author":{"url":"https://github.com/wendt88","@type":"Person","name":"wendt88"},"datePublished":"2020-11-26T12:28:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/283/theme/issues/283"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e996c06d-5b29-3dcf-efda-a19b89ac32b1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C3F6:1931B4:B32A6C:FBBC34:6A625776 |
| html-safe-nonce | 7295c0f15e2afefb25f639e59edf9cb8c582455d5a6d6671812382898cb6f093 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0Y2OjE5MzFCNDpCMzJBNkM6RkJCQzM0OjZBNjI1Nzc2IiwidmlzaXRvcl9pZCI6IjEzMjk3MjE4OTgxMDEyNjYyOTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 063c37148e63feca5f8355992b41d0cc1b7cb4397d232f24f50e898df045f418 |
| hovercard-subject-tag | issue:751552736 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/theme/283/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1ce6c663fbd2c8f68738c0fd4ac2398c091c0919c51ca973eac5698cdab060e1/NativeScript/theme/issues/283 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1ce6c663fbd2c8f68738c0fd4ac2398c091c0919c51ca973eac5698cdab060e1/NativeScript/theme/issues/283 |
| og:image:alt | Environment ✔ Getting NativeScript components versions information... ✔ Component nativescript has 7.0.11 version and is up to date. ✔ Component @nativescript/core has 7.0.13 version and is up to d... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wendt88 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b928dd27bb9305f313c737471c216297e218430ec505d064cf33d7d74af9bf89 |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/theme git https://github.com/NativeScript/theme.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 64524068 |
| octolytics-dimension-repository_nwo | NativeScript/theme |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 64524068 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/theme |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6f728c3f39985ee4d171ffdd5591d8d2652392d9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width