change svg of other instrument icon

This commit is contained in:
Nuwan 2024-10-30 08:36:52 +05:30
parent 2d408eb3a7
commit d4b412e223
2 changed files with 3 additions and 3 deletions

View File

@ -146,7 +146,7 @@ describe('Friends page with data', () => {
closeSidePanel();
});
it.only('click more button', () => {
it('click more button', () => {
//open side panel by clicking more button
cy.get('[data-testid=peopleListTable] > tbody tr')
.first()
@ -207,7 +207,7 @@ describe('Friends page with data', () => {
});
describe.only('in mobile', () => {
describe('in mobile', () => {
beforeEach(() => {
cy.viewport('iphone-6');
});

View File

@ -8,7 +8,7 @@ function JKInstrumentIcon({instrumentId, instrumentName}) {
try {
file = require(`../../icons/instruments/icon_instrument_${instrumentId.replace(/\s+/g, '_')}.svg`);
} catch (error) {
file = require("../../icons/instruments/icon_instrument_unknown.svg");
file = require("../../icons/instruments/icon_instrument_other.svg");
}
return <img width={25} height={25} src={file} alt={instrumentName} />