Open PDF in current tab

Hi there, is there a way to open a directus pdf asset in the current tab instead of downloading to local machine upon click?

Hello @Iridescent_light try this https://www.npmjs.com/package/@directus-labs/pdf-viewer-interface