Skip to content

Commit

Permalink
Merge branch 'master' of github.com:deriv-com/smarttrader into henry/…
Browse files Browse the repository at this point in the history
…dtra-855/make-digits-widget-work-properly
  • Loading branch information
henry-deriv committed Jun 10, 2024
2 parents 43191c9 + 2b2caf8 commit b98397f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 deletions.
1 change: 1 addition & 0 deletions scripts/__tests__/svg_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ describe('check svg file format', () => {

it('should be valid svgs', async () => {
try {
await exec('git fetch origin master --depth 1');
changed_files = [
...await fetchFiles('git diff --name-only -- *.svg'),
...await fetchFiles('git diff HEAD origin/master --name-only -- *.svg'),
Expand Down
15 changes: 1 addition & 14 deletions src/images/common/logos/icon_smarttrader.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/javascript/app/base/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,8 @@ const Header = (() => {
event : 'click',
activate(ui) {
updateTotal();
const currentTab = ui.currentTarget.hash;
const defaultOpenedTab = is_virtual ? '#demo_tab' : '#real_tab';
const currentTab = ui.currentTarget ? ui.currentTarget.hash : defaultOpenedTab;
if (currentTab === '#demo_tab') {
manage_acc_btn.style.visibility = 'hidden';
showTradersHubLink(true);
Expand Down

0 comments on commit b98397f

Please sign in to comment.