]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Cleanup code 33107/head
authorVolker Theile <vtheile@suse.com>
Fri, 7 Feb 2020 11:52:05 +0000 (12:52 +0100)
committerVolker Theile <vtheile@suse.com>
Fri, 7 Feb 2020 11:52:05 +0000 (12:52 +0100)
While doing a code review i realised this issue: The function 'addCustomOption' does not have any parameter.

Signed-off-by: Volker Theile <vtheile@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/shared/components/select/select.component.html

index 23478817f74872c15d7b6cb6a214373db4ae99ae..95df5bbc93dcaa4c078080c7fae9f569d828f4e4 100644 (file)
@@ -40,7 +40,7 @@
   </div>
   <div *ngIf="isCreatable()"
        class="select-menu-item"
-       (click)="addCustomOption(filter.value)">
+       (click)="addCustomOption()">
     <div class="select-menu-item-icon">
       <i [ngClass]="[icons.tag]"
          aria-hidden="true"></i>