tangba you can't just edit the file, you'd need to recompile the distribution files with webpack. And to preserve the change you will need a local copy of the extension source code and not touch vendor.
The method is Array.splice(). First parameter is from where to remove elements (0=start), and the second parameter is how many to remove.
-10 is the order of the newly inserted element inside the side navigation. Higher numbers go first, lower numbers go at the end. This is done so that extensions can insert stuff between the top links and tags (by using a value between -1 and -9) or below (by using a value below -10)