ssb: prettier.

This commit is contained in:
Cory McWilliams 2024-10-23 15:38:49 -04:00
parent de20274589
commit 82d1a294a6
4 changed files with 13 additions and 10 deletions

View File

@ -182,7 +182,11 @@ class TfComposeElement extends LitElement {
} }
event.preventDefault(); event.preventDefault();
document.execCommand('insertText', false, event.clipboardData.getData('text/plain')); document.execCommand(
'insertText',
false,
event.clipboardData.getData('text/plain')
);
} }
async submit() { async submit() {

View File

@ -29,7 +29,10 @@ class TfReactionsModalElement extends LitElement {
style="display: block; box-sizing: border-box" style="display: block; box-sizing: border-box"
@click=${this.clear} @click=${this.clear}
> >
<div class="w3-modal-content w3-card-4 w3-theme-d1" onclick="event.stopPropagation()"> <div
class="w3-modal-content w3-card-4 w3-theme-d1"
onclick="event.stopPropagation()"
>
<div class="w3-container w3-padding"> <div class="w3-container w3-padding">
<header class="w3-container"> <header class="w3-container">
<h2>Reactions</h2> <h2>Reactions</h2>

View File

@ -172,11 +172,7 @@ async function socket(request, response, client) {
0x1 0x1
); );
} else { } else {
process = await core.getProcessBlob( process = await core.getProcessBlob(blobId, sessionId, options);
blobId,
sessionId,
options
);
} }
} }
if (process) { if (process) {

View File

@ -335,9 +335,9 @@ async function getProcessBlob(blobId, key, options) {
settings.userPermissions[user] && settings.userPermissions[user] &&
settings.userPermissions[user][options.packageOwner] settings.userPermissions[user][options.packageOwner]
) { ) {
return settings.userPermissions[user][ return settings.userPermissions[user][options.packageOwner][
options.packageOwner options.packageName
][options.packageName]; ];
} }
}, },
allPermissionsGranted: async function () { allPermissionsGranted: async function () {