Skip to content

Commit f2cdf6a

Browse files
committed
fix: display unknown version if plugin is no longer registered
1 parent 9780fbc commit f2cdf6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/updates.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ function build() {
271271
});
272272
container.append($('<fieldset>').append(
273273
$('<legend>').text(name),
274-
$('<div>').text(`Current: ${currentVersion}`),
274+
$('<div>').text(`Current: ${currentVersion || 'unknown'}`),
275275
button,
276276
));
277277
}

0 commit comments

Comments
 (0)