forked from cory/tildefriends
		
	Add a thing to encourage editing your profile.
This commit is contained in:
		| @@ -154,6 +154,10 @@ class TfNavigationElement extends LitElement { | |||||||
| 		this.renderRoot.getElementById('id_dropdown').classList.toggle('w3-show'); | 		this.renderRoot.getElementById('id_dropdown').classList.toggle('w3-show'); | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
|  | 	edit_profile() { | ||||||
|  | 		window.location.href = '/~core/ssb/#' + this.identity; | ||||||
|  | 	} | ||||||
|  |  | ||||||
| 	render_identity() { | 	render_identity() { | ||||||
| 		let self = this; | 		let self = this; | ||||||
| 		if (this.identities?.length) { | 		if (this.identities?.length) { | ||||||
| @@ -169,6 +173,7 @@ class TfNavigationElement extends LitElement { | |||||||
| 					</button> | 					</button> | ||||||
| 					<div id="id_dropdown" class="w3-dropdown-content w3-bar-block w3-card-4" style="max-width: 100%"> | 					<div id="id_dropdown" class="w3-dropdown-content w3-bar-block w3-card-4" style="max-width: 100%"> | ||||||
| 						<button class="w3-bar-item w3-button w3-border" @click=${() => window.location.href = "/~core/identity"}>Manage Identities...</button> | 						<button class="w3-bar-item w3-button w3-border" @click=${() => window.location.href = "/~core/identity"}>Manage Identities...</button> | ||||||
|  | 						<button class="w3-bar-item w3-button w3-border" @click=${self.edit_profile}>Edit Profile...</button> | ||||||
| 						${this.identities.map( | 						${this.identities.map( | ||||||
| 							(x) => html` | 							(x) => html` | ||||||
| 								<button | 								<button | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user