Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
truenas-rk3588
truenas
Commits
db75f382
Commit
db75f382
authored
8 years ago
by
William Grzybowski
Browse files
Options
Download
Email Patches
Plain Diff
fix(gui): use correct parentdata when editing dataset
Ticket: #23196
parent
b960cc7d
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gui/storage/forms.py
+4
-1
gui/storage/forms.py
with
4 additions
and
1 deletion
+4
-1
gui/storage/forms.py
View file @
db75f382
...
...
@@ -1279,7 +1279,10 @@ class ZFSDataset(Form):
self
.
_create
=
kwargs
.
pop
(
'create'
,
True
)
super
(
ZFSDataset
,
self
).
__init__
(
*
args
,
**
kwargs
)
_n
=
notifier
()
parentdata
=
_n
.
zfs_get_options
(
self
.
_fs
)
if
self
.
_create
:
parentdata
=
_n
.
zfs_get_options
(
self
.
_fs
)
else
:
parentdata
=
_n
.
zfs_get_options
(
self
.
_fs
.
rsplit
(
'/'
,
1
)[
0
])
self
.
fields
[
'dataset_atime'
].
choices
=
_inherit_choices
(
choices
.
ZFS_AtimeChoices
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help