Daksh777 / TakeABreak

Tackle procrastination by using self-destructing tabs and boost your productivity.

Home Page:https://breaks.eu.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

svg image cannot be fetched.

AKD-01 opened this issue · comments

What happened?

../assests/delete.svg cannot be fetched at line 988 in main.js in scripts folder.

How can we reproduce this bug?

This bug can be reproduced by adding a custom time break. After adding the name and url, there a image-break icon appears at the top of the newly generated icon of the entered website instead of "../assets/delete.svg" .

I'm unable to reproduce the bug @AKD-01

image

the delete button on the top of the custom timing icon is appearing as a broken image link.
And please assign this issue as of gssoc

It works absolutely fine @AKD-01
image

Please check this once

Firefox.Developer.Edition.2022-03-17.21-32-13.compressed.mp4

Can you please check the network tab? There should be an error there.

changing "../assets/delete.svg" to "assets/delete.svg" in img src in main.js does the work. Should I create a Pull Request?

Yes, sure @AKD-01

created pull request