Skip to content

Commit

Permalink
update messages
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsmechtel committed Aug 23, 2024
1 parent 7a7e093 commit e3cd6c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/bioimageio-colab-annotator.imjoy.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

// Create and display the viewer window
const viewer = await api.createWindow({src: "https://kaibu.org/#/app", fullscreen: true});
await api.showMessage(`Connecting to server ${serverUrl}....`);
await api.showMessage(`Connecting to server ${serverUrl}...`);
// Login before connecting and then use userid
// TODO: Add login functionality

Expand Down Expand Up @@ -158,9 +158,9 @@
const annotation = await this.annotationLayer.get_features();
if (annotation.features.length > 0) {
await dataProvider.save_annotation(this.filename, annotation, [this.image._rshape[0], this.image._rshape[1]]);
await api.showMessage("Annotation saved");
await api.showMessage("Annotation saved.");
} else {
await api.showMessage("Skip saving annotation");
await api.showMessage("Skip saving annotation.");
}
};

Expand Down

0 comments on commit e3cd6c2

Please sign in to comment.