Removed creation date from API key removal confirmation dialog.
This commit is contained in:
		
							parent
							
								
									a0d38a179a
								
							
						
					
					
						commit
						ec4f9768a8
					
				|  | @ -117,7 +117,7 @@ async function createKey() { | |||
| } | ||||
| 
 | ||||
| async function removeKey(key) { | ||||
| 	if (confirm(`Are you sure you want to remove API key '${key.identifier}' (${format(key.createdAt, 'yyyy-MM-dd hh:mm')})? It can not be restored.`)) { // eslint-disable-line no-restricted-globals, no-alert | ||||
| 	if (confirm(`Are you sure you want to remove API key '${key.identifier}'? It can not be restored.`)) { // eslint-disable-line no-restricted-globals, no-alert | ||||
| 		newKey.value = null; | ||||
| 
 | ||||
| 		await del(`/me/keys/${key.identifier}`); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue