Creating a button for docuemnt sync with remote in ui.

This commit is contained in:
ruidajo 2025-03-22 12:49:47 -05:00
parent 1871f82dd2
commit b74ac124f3

View File

@ -385,6 +385,16 @@ LePage >> uiRefreshWebPreviewButtonFor: anAction [
"WebBrowser openOn: self page localHostAddress" ]
]
{ #category : #'*MiniDocs' }
LePage >> uiSync: anAction [
<lePageAction>
^ anAction button
tooltip: 'Sync with remote document';
icon: BrGlamorousVectorIcons refresh;
action: [ "Exeption LeDuplicatePageIdError"self database
importDocumentFrom: self remote ]
]
{ #category : #'*MiniDocs' }
LePage >> youngerChild [
"I provide the first create child node.