You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/createFamily/buttons.ts
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -117,16 +117,16 @@ function appendOrRemoveChild(appObject: App, file: TFile, obsidianContainer: any
117
117
constclusterBtn=makeButton(appObject,"Cluster","clusterBtn","Create New Cluster in [CLUSTERS] folder")
118
118
setExternalIcon(clusterBtn,"cluster")
119
119
120
-
constsonBtn=makeButton(appObject,"Son","sonBtn",`Create Son for current [${file.basename}] note`)
121
-
setIcon(sonBtn,"baby")
120
+
constchildBtn=makeButton(appObject,"Child","childBtn",`Create Child for current [${file.basename}] note`)
121
+
setIcon(childBtn,"baby")
122
122
123
123
constbrotherBtn=makeButton(appObject,"Brother","brotherBtn",`Create Brother for current [${file.basename}] note`)
124
124
setIcon(brotherBtn,"git-compare")
125
125
126
126
constorphanBtn=makeButton(appObject,"Orphan","orphanBtn",`Create New Orphan note in [ORPHANS] folder`)
127
127
setIcon(orphanBtn,"disc")
128
128
129
-
constdeleteBtn=makeButton(appObject,"Delete","deleteBtn",`Delete the current [${file.basename}] note along with its associated son notes if they exist`)
129
+
constdeleteBtn=makeButton(appObject,"Delete","deleteBtn",`Delete the current [${file.basename}] note along with its associated child notes if they exist`)
130
130
setIcon(deleteBtn,"trash-2")
131
131
132
132
// Making Extra Buttons
@@ -146,7 +146,7 @@ function appendOrRemoveChild(appObject: App, file: TFile, obsidianContainer: any
146
146
147
147
// Append Buttons to buttonsLineContainer
148
148
buttonsLineContainer?.appendChild(clusterBtn)
149
-
buttonsLineContainer?.appendChild(sonBtn)
149
+
buttonsLineContainer?.appendChild(childBtn)
150
150
buttonsLineContainer?.appendChild(brotherBtn)
151
151
buttonsLineContainer?.appendChild(orphanBtn)
152
152
buttonsLineContainer?.appendChild(deleteBtn)
@@ -166,7 +166,7 @@ function appendOrRemoveChild(appObject: App, file: TFile, obsidianContainer: any
0 commit comments