hyperapp-is 0.1.25 → 0.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -238,15 +238,6 @@ export const NavigatorFinder = function (props) {
|
|
|
238
238
|
});
|
|
239
239
|
}; // end action_inputSearchText
|
|
240
240
|
// ---------- ---------- ----------
|
|
241
|
-
// action_copyFolderPath
|
|
242
|
-
// ---------- ---------- ----------
|
|
243
|
-
const action_copyFolderPath = (state) => {
|
|
244
|
-
if (!current)
|
|
245
|
-
return state;
|
|
246
|
-
navigator.clipboard.writeText(current.path);
|
|
247
|
-
return state;
|
|
248
|
-
}; // end action_copyFolderPath
|
|
249
|
-
// ---------- ---------- ----------
|
|
250
241
|
// action_sort
|
|
251
242
|
// ---------- ---------- ----------
|
|
252
243
|
const action_sort = (state, column) => {
|
|
@@ -289,11 +280,7 @@ export const NavigatorFinder = function (props) {
|
|
|
289
280
|
}, ol({}, parentItems.map(parent => li({
|
|
290
281
|
key: parent.path,
|
|
291
282
|
onclick: [action_parentClick, parent]
|
|
292
|
-
}, parent.name)))
|
|
293
|
-
type: "button",
|
|
294
|
-
title: "copy",
|
|
295
|
-
onclick: action_copyFolderPath
|
|
296
|
-
}, icon_copy));
|
|
283
|
+
}, parent.name))));
|
|
297
284
|
// itemsNode
|
|
298
285
|
const itemsNode = div({
|
|
299
286
|
class: "items"
|