You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-30 23:44:55 +02:00
Desktop: Turn old plugin deprecation notices into errors
This commit is contained in:
@ -53,7 +53,7 @@ export default class JoplinViewsDialogs {
|
||||
*/
|
||||
async create(id: string): Promise<ViewHandle> {
|
||||
if (!id) {
|
||||
this.plugin.deprecationNotice('1.5', 'Creating a view without an ID is deprecated. To fix it, change your call to `joplin.views.dialogs.create("my-unique-id")`');
|
||||
this.plugin.deprecationNotice('1.5', 'Creating a view without an ID is deprecated. To fix it, change your call to `joplin.views.dialogs.create("my-unique-id")`', true);
|
||||
id = `${this.plugin.viewCount}`;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user