mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-18 05:20:45 +01:00
style: fix js lint problems
Signed-off-by: David Lima <antdavidlima@gmail.com>
This commit is contained in:
parent
ab994c429d
commit
d47ab739e0
2 changed files with 3 additions and 3 deletions
|
|
@ -15,7 +15,7 @@ const action = new FileAction({
|
|||
title: (nodes) => {
|
||||
const node = nodes[0]
|
||||
|
||||
const signedNodeId = node.attributes['signed-node-id'];
|
||||
const signedNodeId = node.attributes['signed-node-id']
|
||||
|
||||
return !signedNodeId || node.fileid === signedNodeId
|
||||
? fileStatus.find(status => status.id === node.attributes['signature-status']).label
|
||||
|
|
@ -25,7 +25,7 @@ const action = new FileAction({
|
|||
iconSvgInline: (nodes) => {
|
||||
const node = nodes[0]
|
||||
|
||||
const signedNodeId = node.attributes['signed-node-id'];
|
||||
const signedNodeId = node.attributes['signed-node-id']
|
||||
|
||||
return !signedNodeId || node.fileid === signedNodeId
|
||||
? fileStatus.find(status => status.id === node.attributes['signature-status']).icon
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ Vue.use(PiniaVuePlugin)
|
|||
|
||||
const pinia = createPinia()
|
||||
|
||||
const isEnabled = function (fileInfo) {
|
||||
const isEnabled = function(fileInfo) {
|
||||
if (fileInfo?.isDirectory() || !loadState('libresign', 'certificate_ok')) {
|
||||
return false
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue