🍻 Updates changelog, and removes unneded code, ready for merge!

This commit is contained in:
Alicia Sykes
2022-03-27 21:26:37 +01:00
parent 6220f9b7f8
commit 5480f23db7
3 changed files with 8 additions and 22 deletions

View File

@@ -139,14 +139,6 @@ export default {
default: return undefined;
}
},
/* Get href for anchor, if not in edit mode, or opening in modal/ workspace */
hyperLinkHref() {
// TODO Remove this method, and implement elsewhere
const nothing = '#';
if (this.isEditMode) return nothing;
const noAnchorNeeded = ['modal', 'workspace', 'clipboard'];
return noAnchorNeeded.includes(this.accumulatedTarget) ? nothing : this.url;
},
},
data() {
return {