Skip to content
Snippets Groups Projects
Commit 8b270264 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Remove unused code

parent d1beb903
No related branches found
No related tags found
No related merge requests found
......@@ -193,26 +193,6 @@ export default class DBPSignatureLitElement extends LitElement {
return (!this.isLoggedIn() && window.DBPAuthToken !== undefined);
}
getOrganization() {
const organizationSelect = this._("dbp-knowledge-base-organization-select");
if (organizationSelect) {
const objectText = organizationSelect.getAttribute("data-object");
if (objectText !== null) {
return JSON.parse(objectText);
}
}
return null;
}
getOrganizationCode() {
const organization = this.getOrganization();
return organization !== null ? organization.alternateName : "";
}
/**
* Open Filesink for multiple files
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment