quasar-ui-danx 0.0.35 → 0.0.36
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -252,10 +252,10 @@ export function useListActions(name: string, {
|
|
252
252
|
return result;
|
253
253
|
}
|
254
254
|
|
255
|
-
// The active ad for viewing / editing
|
255
|
+
// The active ad for viewing / editing
|
256
256
|
const activeItem = ref(null);
|
257
|
-
// Controls the tab
|
258
|
-
const
|
257
|
+
// Controls the active panel (ie: tab) if rendering a panels drawer or similar
|
258
|
+
const activePanel = ref(null);
|
259
259
|
|
260
260
|
/**
|
261
261
|
* Gets the additional details for the currently active item.
|
@@ -293,7 +293,7 @@ export function useListActions(name: string, {
|
|
293
293
|
*/
|
294
294
|
function openItemForm(item, tab) {
|
295
295
|
activeItem.value = item;
|
296
|
-
|
296
|
+
activePanel.value = tab;
|
297
297
|
}
|
298
298
|
|
299
299
|
/**
|
@@ -357,7 +357,7 @@ export function useListActions(name: string, {
|
|
357
357
|
quasarPagination,
|
358
358
|
isApplyingActionToItem,
|
359
359
|
activeItem,
|
360
|
-
|
360
|
+
activePanel,
|
361
361
|
|
362
362
|
// Actions
|
363
363
|
initialize,
|