You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-08-13 22:12:50 +02:00
Merge branch 'dev' of github.com:laurent22/joplin into dev
This commit is contained in:
@@ -220,9 +220,8 @@ class FileApiDriverOneDrive {
|
||||
};
|
||||
|
||||
const freshStartDelta = () => {
|
||||
// Business Accounts are only allowed to make delta requests to the root. For some reason /delta gives an error for personal accounts and :/delta an error for business accounts
|
||||
const accountProperties = this.api_.accountProperties_;
|
||||
const url = (accountProperties.accountType === 'business') ? `/drives/${accountProperties.driveId}/root/delta` : `${this.makePath_(path)}:/delta`;
|
||||
const url = `/drives/${accountProperties.driveId}/root/delta`;
|
||||
const query = this.itemFilter_();
|
||||
query.select += ',deleted';
|
||||
return { url: url, query: query };
|
||||
|
@@ -2,6 +2,7 @@ import joplin from 'api';
|
||||
|
||||
joplin.plugins.register({
|
||||
onStart: async function() {
|
||||
console.info('Test plugin started!');
|
||||
await joplin.views.toolbarButtons.create('toggleSideBarButton', 'toggleSideBar', 'noteToolbar');
|
||||
await joplin.views.toolbarButtons.create('toggleNoteListButton', 'toggleNoteList', 'noteToolbar');
|
||||
},
|
||||
});
|
||||
|
@@ -2,7 +2,7 @@
|
||||
"manifest_version": 1,
|
||||
"id": "org.joplinapp.plugins.ToggleSideBars",
|
||||
"app_min_version": "1.6",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"name": "Note list and side bar toggle buttons",
|
||||
"description": "Adds buttons to toggle note list and side bar",
|
||||
"author": "Laurent Cozic",
|
||||
|
Reference in New Issue
Block a user